From: David Vrabel Date: Mon, 5 Jan 2015 14:13:41 +0000 (+0000) Subject: xen/grant-table: pre-populate kernel unmap ops for xen_gnttab_unmap_refs() X-Git-Tag: fixes-v4.0-rc1~162^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=853d0289340026b30f93fd0e768340221d4e605c;p=pandora-kernel.git 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 Reviewed-by: Stefano Stabellini --- Reading git-diff-tree failed