diff options
author | jeff <jeff@FreeBSD.org> | 2007-08-20 06:36:12 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-08-20 06:36:12 +0000 |
commit | b3923a600f03072c03a3676cfa81200d7aaed157 (patch) | |
tree | c3c2629a4264d127fec0e9775f5e599bc605ebda /sys/vm/vm_map.c | |
parent | 0f3cc9a72e193e7ade68889ab030729cae2c8ba0 (diff) | |
download | FreeBSD-src-b3923a600f03072c03a3676cfa81200d7aaed157.zip FreeBSD-src-b3923a600f03072c03a3676cfa81200d7aaed157.tar.gz |
- 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
Diffstat (limited to 'sys/vm/vm_map.c')
0 files changed, 0 insertions, 0 deletions