All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 5] xenpaging: improve page-out path
@ 2011-12-06 17:07 Olaf Hering
  2011-12-06 17:07 ` [PATCH 1 of 5] xenpaging: extend xc_mem_paging_enable() to handle interface version Olaf Hering
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Olaf Hering @ 2011-12-06 17:07 UTC (permalink / raw)
  To: xen-devel


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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-12-06 17:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 17:07 [PATCH 0 of 5] xenpaging: improve page-out path Olaf Hering
2011-12-06 17:07 ` [PATCH 1 of 5] xenpaging: extend xc_mem_paging_enable() to handle interface version Olaf Hering
2011-12-06 17:07 ` [PATCH 2 of 5] xenpaging: map gfn before nomination Olaf Hering
2011-12-06 17:07 ` [PATCH 3 of 5] xenpaging: add need_populate and paged_no_mfn checks Olaf Hering
2011-12-06 17:07 ` [PATCH 4 of 5] xenpaging: restore p2mt if gfn is needed before evict Olaf Hering
2011-12-06 17:07 ` [PATCH 5 of 5] xenpaging: improve evict error handling Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.