summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2013-05-12 16:50:18 +0000
committeralc <alc@FreeBSD.org>2013-05-12 16:50:18 +0000
commit7d20e37fb658b0e2cd7f3c13dac8022e0e866a21 (patch)
treef0a16a6164c2636942cacaa989a08f31dafdb3f4 /contrib/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
parent6907881cb814953c545475a8a63e3afc402bd547 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud