Date: Sat, 13 Sep 2014 22:36:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193465] [mips] malloc failures on mips, ath(4) Message-ID: <bug-193465-8-NKozqQTumj@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-193465-8@https.bugs.freebsd.org/bugzilla/> References: <bug-193465-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193465 --- Comment #6 from Sean Bruno <sbruno@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193465-8-NKozqQTumj>