• Olaf Hering's avatar
    xenpaging: improve performance in policy_choose_victim · 6c767584
    Olaf Hering authored
    policy_choose_victim() is one of the bottlenecks in xenpaging. It is called
    alot to find free bits in the fragmented bitmaps.
    
    Reduce turnaround time by skipping longs with all bits set.
    Adjust wrap detection in loop.
    
    v2:
     - fix copy&paste error, bitmap was tested twice
    Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
    Committed-by: Ian Jackson <ian.jackson.citrix.com>
    6c767584
Name
Last commit
Last update
buildconfigs Loading commit data...
config Loading commit data...
docs Loading commit data...
extras/mini-os Loading commit data...
scripts Loading commit data...
stubdom Loading commit data...
tools Loading commit data...
unmodified_drivers/linux-2.6 Loading commit data...
xen Loading commit data...
.bk-to-hg Loading commit data...
.gitignore Loading commit data...
.hg-to-bk Loading commit data...
.hgignore Loading commit data...
.hgsigs Loading commit data...
.rootkeys Loading commit data...
COPYING Loading commit data...
Config.mk Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
install.sh Loading commit data...