]> git.baikalelectronics.ru Git - kernel.git/commit
xen/grant-table: pre-populate kernel unmap ops for xen_gnttab_unmap_refs()
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 5 Jan 2015 14:13:41 +0000 (14:13 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Jan 2015 14:03:10 +0000 (14:03 +0000)
commit38a5bddcc37ab6a96541d2b8ece7dab4767b7439
tree17d52ad1d7ae43007d8b664bbdba2a50db7dbb81
parentdbb0b025db22edece19e1258891761fbe660bf35
xen/grant-table: pre-populate kernel unmap ops for xen_gnttab_unmap_refs()

When unmapping grants, instead of converting the kernel map ops to
unmap ops on the fly, pre-populate the set of unmap ops.

This allows the grant unmap for the kernel mappings to be trivially
batched in the future.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/arm/include/asm/xen/page.h
arch/arm/xen/p2m.c
arch/x86/include/asm/xen/page.h
arch/x86/xen/p2m.c
drivers/xen/gntdev.c
drivers/xen/grant-table.c
include/xen/grant_table.h