From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
<linux-kernel@vger.kernel.org>, <xen-devel@lists.xensource.com>
Subject: [PATCH v3 0/2] xen: modify kernel mappings corresponding to granted pages
Date: Wed, 7 Sep 2011 17:38:09 +0100 [thread overview]
Message-ID: <alpine.DEB.2.00.1109071723470.12963@kaball-desktop> (raw)
Hi all,
this is the third version of the patch "xen: modify kernel mappings
corresponding to granted pages".
Compared to the latest version, following Jeremy's suggestion, I dropped
support for highmem pages. That made the code much simpler, therefore I
folded the multicall patch in the main patch because it didn't make much
sense to keep them separate anymore.
I modified gntdev to use lowmem pages only, so that we are always going
to be able to successfully modify the kernel mappings directly in the m2p
override.
In order to do that I extended the alloc_xenballooned_pages interface
with an highmem parameter that allows the caller to explicitly request
for highmem or lowmem pages.
Shortlog and diffstat follow:
Stefano Stabellini (2):
xen: add an "highmem" parameter to alloc_xenballooned_pages
xen: modify kernel mappings corresponding to granted pages
arch/x86/include/asm/xen/page.h | 5 ++-
arch/x86/xen/p2m.c | 67 ++++++++++++++++++++++++++++++++------
drivers/xen/balloon.c | 12 +++++--
drivers/xen/gntdev.c | 29 +++++++++++++++-
drivers/xen/grant-table.c | 4 +-
include/xen/balloon.h | 3 +-
include/xen/grant_table.h | 1 +
7 files changed, 100 insertions(+), 21 deletions(-)
A git branch with the two patches on top of Linux 3.1 rc4 is available
here:
git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 3.1-rc4-kernel_mappings_3
Cheers,
Stefano
next reply other threads:[~2011-09-07 16:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-07 16:38 Stefano Stabellini [this message]
2011-09-07 16:39 ` [PATCH v3 1/2] xen: add an "highmem" parameter to alloc_xenballooned_pages stefano.stabellini
2011-09-07 17:01 ` Jeremy Fitzhardinge
2011-09-08 12:46 ` Stefano Stabellini
2011-09-07 16:39 ` [PATCH v3 2/2] xen: modify kernel mappings corresponding to granted pages stefano.stabellini
2011-09-07 17:13 ` Jeremy Fitzhardinge
2011-09-07 17:38 ` Stefano Stabellini
2011-09-07 19:05 ` Jeremy Fitzhardinge
2011-09-07 22:27 ` Konrad Rzeszutek Wilk
2011-09-08 12:56 ` Stefano Stabellini
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=alpine.DEB.2.00.1109071723470.12963@kaball-desktop \
--to=stefano.stabellini@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=jeremy@goop.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®