From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xensource.com
Subject: [PATCH 0 of 5] xenpaging: improve page-out path
Date: Tue, 06 Dec 2011 18:07:01 +0100 [thread overview]
Message-ID: <patchbomb.1323191221@probook.site> (raw)
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(-)
next reply other threads:[~2011-12-06 17:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 17:07 Olaf Hering [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=patchbomb.1323191221@probook.site \
--to=olaf@aepfle.de \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.