• Olaf Hering's avatar
    xenpaging: reduce number of qemu cache flushes · d3d413f0
    Olaf Hering authored
    Currently the command to flush the qemu cache is called alot if there
    are no more pages to evict. This causes churn in the logfiles, and qemu
    can not release more pages anyway since the last command.
    
    Fix this by remembering the current number of paged-out gfns, if this
    number did not change since the last flush command then sending another
    new flush command will not free any more gfns.
    
    Remove return code from xenpaging_mem_paging_flush_ioemu_cache() since
    errors do not matter, and will be handled elsewhere. Also failure to
    send the flush command is not fatal.
    Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
    Committed-by: Ian Jackson <ian.jackson.citrix.com>
    d3d413f0
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...