Subject: CVS commit: syssrc/sys
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/26/2001 19:02:28
Module Name: syssrc
Committed By: thorpej
Date: Tue Jun 26 16:02:27 UTC 2001
Modified Files:
syssrc/sys/kern: kern_malloc.c
syssrc/sys/sys: malloc.h
Log Message:
Make the kmemstats limits unsigned, and use unsigned arithmetic
to compute them. Prevents overflows when using a very large number
of kmem pages.
From chopps@netbsd.org.
To generate a diff of this commit:
cvs rdiff -r1.59 -r1.60 syssrc/sys/kern/kern_malloc.c
cvs rdiff -r1.63 -r1.64 syssrc/sys/sys/malloc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.