diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-12-17 06:27:55 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-12-17 06:27:55 +0000 |
commit | 0645e0177f2a7120d5af731d236d84b9a9a6dbb8 (patch) | |
tree | b475385d086acfa5375673397e647426f16ca670 /tools/xenpaging/xenpaging.h | |
parent | 35b1c10cb4210e14a579e3030d65bb08949ab709 (diff) | |
download | xen-0645e0177f2a7120d5af731d236d84b9a9a6dbb8.tar.gz xen-0645e0177f2a7120d5af731d236d84b9a9a6dbb8.tar.bz2 xen-0645e0177f2a7120d5af731d236d84b9a9a6dbb8.zip |
libxc support of memory paging.
libxc accepts the new return code from privcmd mmap, which indicates a page
being mapped is actually paged out. Spin until the page is paged in and return
as normal to the caller. This allows memory paging to work transparently with
existing tools.
Since libxc runs in user-space, as does the pager, both processes will be
scheduled and run. This enables the page to be paged in without needing to
spin in kernel mode (which would cause a dead-lock).
Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
Diffstat (limited to 'tools/xenpaging/xenpaging.h')
0 files changed, 0 insertions, 0 deletions