summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2007-08-20 06:36:12 +0000
committerjeff <jeff@FreeBSD.org>2007-08-20 06:36:12 +0000
commitb3923a600f03072c03a3676cfa81200d7aaed157 (patch)
treec3c2629a4264d127fec0e9775f5e599bc605ebda /sys/vm/vm_map.c
parent0f3cc9a72e193e7ade68889ab030729cae2c8ba0 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud