]> xenbits.xensource.com Git - xenclient/kernel.git/commit
xen balloon: allocate and free cold pages
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Feb 2008 09:52:49 +0000 (09:52 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Feb 2008 09:52:49 +0000 (09:52 +0000)
commit441e9948352a31c478695a8d757f884b01e0935c
treeb145fd5bf0e8878b4070d42fa450e89f66c85c6c
parentcc055858e462df26f187d6a514a555a40e4f09fd
xen balloon: allocate and free cold pages

To reduce the performance side effects of ballooning, use and return
cold pages. To limit the impact scrubbing of these (and other) pages
has on the cache, also implement a dedicated scrubbing function on x86
which uses non-temporal stores (when available).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
arch/i386/lib/Makefile
arch/i386/lib/scrub.c [new file with mode: 0644]
arch/i386/mm/hypervisor.c
arch/x86_64/lib/Makefile
arch/x86_64/lib/scrub.c [new file with mode: 0644]
drivers/xen/balloon/balloon.c
include/asm-i386/mach-xen/asm/hypervisor.h