summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2011-10-25 16:35:08 +0000
committeralc <alc@FreeBSD.org>2011-10-25 16:35:08 +0000
commit955d2b5af8740fe3af16a47e773773f03e52cdde (patch)
treec44ba760670cedf98c25880bb3cef763b351e2af /sbin
parentafe77a15ac76058e7f1725e7ba0ccc6e9a314d87 (diff)
downloadFreeBSD-src-955d2b5af8740fe3af16a47e773773f03e52cdde.zip
FreeBSD-src-955d2b5af8740fe3af16a47e773773f03e52cdde.tar.gz
Speed up vm_page_cache() and vm_page_remove() by checking for a few
common cases that can be handled in constant time. The insight being that a page's parent in the vm object's tree is very often its predecessor or successor in the vm object's ordered memq. Tested by: jhb MFC after: 10 days
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud