mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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@eu.citrix.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: [PATCH v5 0/2] xen: modify kernel mappings corresponding to granted pages
Date: Thu, 29 Sep 2011 11:56:27 +0100	[thread overview]
Message-ID: <alpine.DEB.2.00.1109291148340.3519@kaball-desktop> (raw)

Hi all,
this is the fifth version of the patch "xen: modify kernel mappings
corresponding to granted pages":


changes to v4:

- add many more comments to the code;

- fix some code style issues;

- use set_page_private/page_private macros;

- compare with GNTST_general_error rather than -1;

- BUG in case map->pages are highmem;


Changes to v3:

- move the xen_mc_entry call in m2p_remove_override after the
xen_mc_flush call;

- use false rather than 0 as a parameter to alloc_xenballooned_pages;

- update the m2p_add_override call in blkback.c, following the new
interface;

- fix few code style issues.


Changes to v2:

- drop highmem support;

- fold the multicall patch into the main patch;

- add another patch to extend the alloc_xenballooned_pages interface
with an highmem parameter that allows the caller to explicitly request
for highmem or lowmem pages;

- modify gntdev to use lowmem pages only thanks to the new
alloc_xenballooned_pages interface.


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                  |   79 ++++++++++++++++++++++++++++++-----
 drivers/block/xen-blkback/blkback.c |    2 +-
 drivers/xen/balloon.c               |   12 ++++--
 drivers/xen/gntdev.c                |   34 ++++++++++++++-
 drivers/xen/grant-table.c           |    6 +-
 include/xen/balloon.h               |    5 +-
 include/xen/grant_table.h           |    1 +
 8 files changed, 120 insertions(+), 24 deletions(-)


A git branch with the two patches on top of Konrad's "Xen MMU fixes for
3.2" patch series
(1316831299-4144-1-git-send-email-konrad.wilk@oracle.com) on top of
Linux 3.1 rc4 is available here:

git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 3.1-rc4-kernel_mappings_5

Cheers,

Stefano

             reply	other threads:[~2011-09-29 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 10:56 Stefano Stabellini [this message]
2011-09-29 10:57 ` [PATCH v5 1/2] xen: add an "highmem" parameter to alloc_xenballooned_pages stefano.stabellini
2011-09-29 10:57 ` [PATCH v5 2/2] xen: modify kernel mappings corresponding to granted pages stefano.stabellini
2011-09-29 13:55   ` [Xen-devel] " Konrad Rzeszutek Wilk
2011-09-29 13:58     ` Stefano Stabellini
2011-09-29 14:18     ` Ian Campbell
2011-09-29 14:53       ` 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.1109291148340.3519@kaball-desktop \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=Ian.Campbell@eu.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®