diff options
author | alc <alc@FreeBSD.org> | 2013-05-12 16:50:18 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2013-05-12 16:50:18 +0000 |
commit | 7d20e37fb658b0e2cd7f3c13dac8022e0e866a21 (patch) | |
tree | f0a16a6164c2636942cacaa989a08f31dafdb3f4 /contrib/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp | |
parent | 6907881cb814953c545475a8a63e3afc402bd547 (diff) | |
download | FreeBSD-src-7d20e37fb658b0e2cd7f3c13dac8022e0e866a21.zip FreeBSD-src-7d20e37fb658b0e2cd7f3c13dac8022e0e866a21.tar.gz |
Refactor vm_page_alloc()'s interactions with vm_reserv_alloc_page() and
vm_page_insert() so that (1) vm_radix_lookup_le() is never called while the
free page queues lock is held and (2) vm_radix_lookup_le() is called at most
once. This change reduces the average time that the free page queues lock
is held by vm_page_alloc() as well as vm_page_alloc()'s average overall
running time.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp')
0 files changed, 0 insertions, 0 deletions