]> xenbits.xensource.com Git - xen.git/commit
xenpaging: specify policy mru_size at runtime
authorKeir Fraser <keir@xen.org>
Tue, 11 Jan 2011 10:32:05 +0000 (10:32 +0000)
committerKeir Fraser <keir@xen.org>
Tue, 11 Jan 2011 10:32:05 +0000 (10:32 +0000)
commit2dc5d916ff3b77a44bff7c5cef97c723eaf01367
treeca0e281264e3604838c4e2dab815d010b6b55d83
parent56f2a91b86c48d976d9e7908b218575da740016d
xenpaging: specify policy mru_size at runtime

The environment variable XENPAGING_POLICY_MRU_SIZE will change the
mru_size in the policy at runtime.  Specifying the mru_size at runtime
allows the admin to keep more pages in memory so guests can make more
progress.  Its also good for development to reduce the value to put
more pressure on the paging related code paths.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
tools/xenpaging/policy_default.c
tools/xenpaging/xenpaging.c
tools/xenpaging/xenpaging.h