Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src

Module Name:    src
Committed By:   he
Date:           Mon Apr  5 08:03:42 UTC 2010

Modified Files:
        src/sys/kern: kern_malloc.c
        src/sys/sys: mallocvar.h
        src/usr.bin/vmstat: vmstat.c

Log Message:
Follow christos' suggestions, and make ks_active a u_short, and
also only use 16 u_shorts instead of 32 ints.  Also add panic()
calls for under- and overflow of the ks_active members under
DIAGNOSTIC.  The MAXBUCKET constant ended up in sys/mallocvar.h
and not sys/param.h, as the latter caused build problems.

Ride the kernel revision bump of my previous change.

To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/kern/kern_malloc.c
cvs rdiff -u -r1.8 -r1.9 src/sys/sys/mallocvar.h
cvs rdiff -u -r1.167 -r1.168 src/usr.bin/vmstat/vmstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index