[PATCH v4 0/2] xen: modify kernel mappings corresponding to grantedpages

From: Stefano Stabellini
Date: Thu Sep 08 2011 - 19:14:25 EST


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

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 | 68 +++++++++++++++++++++++++++++------
drivers/block/xen-blkback/blkback.c | 2 +-
drivers/xen/balloon.c | 12 ++++--
drivers/xen/gntdev.c | 29 ++++++++++++++-
drivers/xen/grant-table.c | 6 ++--
include/xen/balloon.h | 3 +-
include/xen/grant_table.h | 1 +
8 files changed, 103 insertions(+), 23 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_4

Cheers,

Stefano
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/