public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] xen: modify kernel mappings corresponding to granted pages
@ 2011-09-07 16:38 Stefano Stabellini
  2011-09-07 16:39 ` [PATCH v3 1/2] xen: add an "highmem" parameter to alloc_xenballooned_pages stefano.stabellini
  2011-09-07 16:39 ` [PATCH v3 2/2] xen: modify kernel mappings corresponding to granted pages stefano.stabellini
  0 siblings, 2 replies; 10+ messages in thread
From: Stefano Stabellini @ 2011-09-07 16:38 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: Jeremy Fitzhardinge, Stefano Stabellini, Ian Campbell,
	linux-kernel, xen-devel

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

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

end of thread, other threads:[~2011-09-08 12:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 16:38 [PATCH v3 0/2] xen: modify kernel mappings corresponding to granted pages Stefano Stabellini
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox