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 2 of 5] xenpaging: map gfn before nomination Olaf Hering
  0 siblings, 1 reply; 8+ 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] 8+ messages in thread

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3467.1323191271.12970.xen-devel@lists.xensource.com>
2011-12-06 18:13 ` [PATCH 2 of 5] xenpaging: map gfn before nomination Andres Lagar-Cavilla
2011-12-07  9:27   ` Olaf Hering
2011-12-07 12:58     ` Tim Deegan
2011-12-07 13:05       ` Olaf Hering
2011-12-07 16:23       ` Andres Lagar-Cavilla
2011-12-07 17:42         ` Tim Deegan
2011-12-07 16:22     ` Andres Lagar-Cavilla
2011-12-06 17:07 [PATCH 0 of 5] xenpaging: improve page-out path Olaf Hering
2011-12-06 17:07 ` [PATCH 2 of 5] xenpaging: map gfn before nomination 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.