Date: Mon, 29 Jan 1996 01:58:37 -0800 (PST) From: David Greenman <davidg> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern kern_malloc.c Message-ID: <199601290958.BAA18154@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidg 96/01/29 01:58:36 Modified: sys/kern kern_malloc.c Log: Fixed two bugs in the calculation of the malloc area (kmem_map) size: 1) The calculation didn't account for NMBCLUSTERS, so if a large number of clusters was specified, it would leave little or no space for kernel malloc. 2) It was bogusly restricted to v_page_count. This doesn't take into account the sparseness of the malloc area and would have caused problems on machines with small amounts of memory. It should probably instead be changed to set the malloc limit to be constrained by the amount of memory, but I didn't do this. Revision Changes Path 1.18 +9 -7 src/sys/kern/kern_malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601290958.BAA18154>