Date: Thu, 27 Jan 2000 20:04:59 -0800 (PST) From: David Greenman <dg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_malloc.c Message-ID: <200001280404.UAA17835@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dg 2000/01/27 20:04:59 PST
Modified files:
sys/kern kern_malloc.c
Log:
Fixed sign and overflow bugs that caused the allocation size of the kernel
malloc region (kmem_map) to be wrong and semi-random on systems with more
than 1GB of RAM. This is not a complete fix, but is sufficient for
machines with 4GB or less of memory. A complete fix will require some
changes to the getenv stuff so that 64bit values can be passed around.
NOT FIXED: machines with more than 4GB of RAM (e.g. some large Alphas)
since we're still using ints to hold some of the values.
Reviewed by: bde
Revision Changes Path
1.63 +13 -7 src/sys/kern/kern_malloc.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001280404.UAA17835>
