Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: source-changes
Date: 05/13/2001 20:06:59
Module Name: syssrc
Committed By: sommerfeld
Date: Sun May 13 17:06:59 UTC 2001
Modified Files:
syssrc/sys/kern: subr_pool.c
syssrc/sys/sys: pool.h
Log Message:
Remove pool reentrancy testing overhead unless DIAGNOSTIC is defined.
Previously, we passed __FILE__ and __LINE__ on all pool_get/pool_set calls.
This change results in a measured 1.2% performance improvement in
ping-flood packets-per-second as reported by ping(8).
To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 syssrc/sys/kern/subr_pool.c
cvs rdiff -r1.23 -r1.24 syssrc/sys/sys/pool.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.