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>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------080000070905090001090904 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------080000070905090001090904 Content-Type: text/plain; name="powerpc_kmapent.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="powerpc_kmapent.patch" 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 --------------080000070905090001090904--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485C9840.2080302>