cvs commit: src/sys/kern kern_switch.c
Jeff Roberson
jeff at FreeBSD.org
Sun Aug 19 23:36:12 PDT 2007
jeff 2007-08-20 06:36:12 UTC
FreeBSD src repository
Modified files:
sys/kern kern_switch.c
Log:
- Improve runq_findbit_from() which is used by ULE's circular queue. Mask
of the bits we want to ignore on the first pass rather than doing a
linear scan. This puts us within a few instructions of the cost of
runq_findbit() and removes this function from the top of profiling output
for context switch heavy workloads.
Approved by: re
Revision Changes Path
1.134 +22 -32 src/sys/kern/kern_switch.c
More information about the cvs-src
mailing list