[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0 of 5] xenpaging: improve page-out path
The following series makes mapping a gfn from foreign domains more robust. Now that xc_mem_paging_load() takes care of the page-in path, adjust also the page-out path. This moves the pager out of the way and all places where a p2mt check is done can now return -ENOENT right away. Olaf Changes: xenpaging: extend xc_mem_paging_enable() to handle interface version xenpaging: map gfn before nomination xenpaging: add need_populate and paged_no_mfn checks xenpaging: restore p2mt if gfn is needed before evict xenpaging: improve evict error handling tools/libxc/xc_mem_paging.c | 3 +- tools/libxc/xenctrl.h | 1 tools/xenpaging/xenpaging.c | 49 ++++++++++++++++++++++++---------- xen/arch/x86/hvm/emulate.c | 3 +- xen/arch/x86/hvm/hvm.c | 17 +++++++----- xen/arch/x86/mm.c | 55 +++++++++++---------------------------- xen/arch/x86/mm/guest_walk.c | 3 +- xen/arch/x86/mm/hap/guest_walk.c | 6 ++-- xen/arch/x86/mm/mem_event.c | 9 ++++++ xen/arch/x86/mm/p2m-ept.c | 3 -- xen/arch/x86/mm/p2m.c | 33 ++++++++++++----------- xen/common/grant_table.c | 3 +- xen/include/asm-x86/p2m.h | 9 ++++-- xen/include/public/mem_event.h | 2 + 14 files changed, 110 insertions(+), 86 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |