diff options
author | Keir Fraser <keir@xen.org> | 2011-01-11 10:32:05 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-01-11 10:32:05 +0000 |
commit | 2dc5d916ff3b77a44bff7c5cef97c723eaf01367 (patch) | |
tree | ca0e281264e3604838c4e2dab815d010b6b55d83 /tools/xenpaging/xenpaging.h | |
parent | 56f2a91b86c48d976d9e7908b218575da740016d (diff) | |
download | xen-2dc5d916ff3b77a44bff7c5cef97c723eaf01367.tar.gz xen-2dc5d916ff3b77a44bff7c5cef97c723eaf01367.tar.bz2 xen-2dc5d916ff3b77a44bff7c5cef97c723eaf01367.zip |
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>
Diffstat (limited to 'tools/xenpaging/xenpaging.h')
-rw-r--r-- | tools/xenpaging/xenpaging.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/xenpaging/xenpaging.h b/tools/xenpaging/xenpaging.h index a6bf556200..f4ebcefca8 100644 --- a/tools/xenpaging/xenpaging.h +++ b/tools/xenpaging/xenpaging.h @@ -45,6 +45,7 @@ typedef struct xenpaging { unsigned long *bitmap; mem_event_t mem_event; + int policy_mru_size; } xenpaging_t; |