diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-11-20 17:02:45 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-11-20 17:02:45 +0100 |
commit | f994788c5e4cd25e5b67b93a6a9c68491082277f (patch) | |
tree | fbf6a0bced819d76517356d550ac0eab06b4c718 /tools/xenpaging/xenpaging.h | |
parent | 8a8d8fc344416a6ddb6472906ecebbeaafab6d2f (diff) | |
download | xen-f994788c5e4cd25e5b67b93a6a9c68491082277f.tar.gz xen-f994788c5e4cd25e5b67b93a6a9c68491082277f.tar.bz2 xen-f994788c5e4cd25e5b67b93a6a9c68491082277f.zip |
xenpaging: use guests tot_pages as working target
This change reverses the task of xenpaging. Before this change a fixed number
of pages was paged out. With this change the guest will not have access to
more than the given number of pages at the same time.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/xenpaging/xenpaging.h')
-rw-r--r-- | tools/xenpaging/xenpaging.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenpaging/xenpaging.h b/tools/xenpaging/xenpaging.h index 2ea8064234..2bd9e7fdb5 100644 --- a/tools/xenpaging/xenpaging.h +++ b/tools/xenpaging/xenpaging.h @@ -50,7 +50,7 @@ typedef struct xenpaging { /* number of pages for which data structures were allocated */ int max_pages; int num_paged_out; - int num_pages; + int target_tot_pages; int policy_mru_size; unsigned long pagein_queue[XENPAGING_PAGEIN_QUEUE_SIZE]; } xenpaging_t; |