Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2008 00:57:20 -0500
From:      Alan Cox <alc@cs.rice.edu>
To:        ppc@freebsd.org
Subject:   Please test this simple patch
Message-ID:  <485C9840.2080302@cs.rice.edu>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Could someone please test the attached patch on an AIM powerpc?  
Specifically, what I want to know is the output of "vmstat -z" for "KMAP 
ENTRY" before and after this patch is applied.  (I would also like to 
know how much physical memory that your test machine has.)

Thanks,
Alan


[-- Attachment #2 --]
Index: vm/vm_map.c
===================================================================
--- vm/vm_map.c	(revision 179898)
+++ vm/vm_map.c	(working copy)
@@ -294,7 +294,7 @@
 vm_init2(void)
 {
 	uma_zone_set_obj(kmapentzone, &kmapentobj, lmin(cnt.v_page_count,
-	    (VM_MAX_KERNEL_ADDRESS - KERNBASE) / PAGE_SIZE) / 8 +
+	    (VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS) / PAGE_SIZE) / 8 +
 	     maxproc * 2 + maxfiles);
 	vmspace_zone = uma_zcreate("VMSPACE", sizeof(struct vmspace), NULL,
 #ifdef INVARIANTS
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485C9840.2080302>