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)
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>

No differences found