https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193465

--- Comment #6 from Sean Bruno <sbr...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to