[Bug 193465] [mips] malloc failures on mips, ath(4)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 13 22:36:39 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193465
--- Comment #6 from Sean Bruno <sbruno at FreeBSD.org> ---
Xin provided a patch on freebsd-src and I'm moving it here with results.
Patch:
Index: sys/kern/kern_malloc.c
===================================================================
--- sys/kern/kern_malloc.c (revision 271494)
+++ sys/kern/kern_malloc.c (working copy)
@@ -717,6 +717,8 @@ kmeminit(void)
* a given architecture.
*/
mem_size = vm_cnt.v_page_count;
+ if (mem_size <= 32768) /* delphij XXX 128MB */
+ kmem_zmax = PAGE_SIZE;
if (vm_kmem_size_scale < 1)
vm_kmem_size_scale = VM_KMEM_SIZE_SCALE;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list