Date: Tue, 29 Jun 2004 02:30:12 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf NOTES options src/sys/kern subr_sleepqueue.c subr_turnstile.c Message-ID: <200406290230.i5T2UCMt072670@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2004-06-29 02:30:12 UTC
FreeBSD src repository
Modified files:
sys/conf NOTES options
sys/kern subr_sleepqueue.c subr_turnstile.c
Log:
Add two new kernel options to allow rudimentary profiling of the internal
hash tables used in the sleep queue and turnstile code. Each option adds
a sysctl tree under debug containing the maximum depth of any bucket in
the hash table as well as a separate node for each bucket (or chain)
containing the current depth and maximum depth for that bucket.
Revision Changes Path
1.1237 +8 -0 src/sys/conf/NOTES
1.457 +2 -0 src/sys/conf/options
1.9 +41 -0 src/sys/kern/subr_sleepqueue.c
1.143 +48 -3 src/sys/kern/subr_turnstile.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406290230.i5T2UCMt072670>
