diff options
author | Keir Fraser <keir@xen.org> | 2011-01-11 10:31:33 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-01-11 10:31:33 +0000 |
commit | 56f2a91b86c48d976d9e7908b218575da740016d (patch) | |
tree | 7ced160eacb280d53f4b7f220f5efadf48dae808 /tools/xenpaging/xenpaging.h | |
parent | a3b9de49c68310f0633cac62f1ab41813975390a (diff) | |
download | xen-56f2a91b86c48d976d9e7908b218575da740016d.tar.gz xen-56f2a91b86c48d976d9e7908b218575da740016d.tar.bz2 xen-56f2a91b86c48d976d9e7908b218575da740016d.zip |
xenpaging: remove domain_id and mfn from struct xenpaging_victim
Remove unused member 'mfn' from struct xenpaging_victim.
xenpaging operates on a single guest, so it needs only a single
domain_id. Remove domain_id from struct xenpaging_victim and use the
one from paging->mem_event where needed. Its not used in the policy.
This saves 4MB runtime data with a 1GB pagefile.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'tools/xenpaging/xenpaging.h')
-rw-r--r-- | tools/xenpaging/xenpaging.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/xenpaging/xenpaging.h b/tools/xenpaging/xenpaging.h index d8451937d3..a6bf556200 100644 --- a/tools/xenpaging/xenpaging.h +++ b/tools/xenpaging/xenpaging.h @@ -49,12 +49,8 @@ typedef struct xenpaging { typedef struct xenpaging_victim { - /* the domain to evict a page from */ - domid_t domain_id; /* the gfn of the page to evict */ unsigned long gfn; - /* the mfn of evicted page */ - unsigned long mfn; } xenpaging_victim_t; |