Messages in this thread | | | From | Zoltan Kiss <> | Subject | [PATCH v2 0/2] xen/grant-table: Avoid m2p_override during mapping | Date | Mon, 13 Jan 2014 19:08:37 +0000 |
| |
The grant mapping API does m2p_override unnecessarily: only gntdev needs it, for blkback and future netback patches it just cause a lock contention, as those pages never go to userspace. Therefore this series does the following: - move the m2p_override part from grant_[un]map_refs to gntdev, where it is needed after mapping operations - but move set_phys_to_machine from m2p_override to gnttab_[un]map_refs, because it is needed always - update the function prototypes as kmap_ops are no longer needed
v2: - move the storing of the old mfn in page->index to gnttab_map_refs - move the function header update to a separate patch
Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com> Suggested-by: David Vrabel <david.vrabel@citrix.com>
| |