Re: [PATCH v2 1/2] xen/grant-table: Avoid m2p_override during mapping

2014-01-18 Thread Zoltan Kiss
On 13/01/14 19:08, Zoltan Kiss wrote: @@ -284,8 +287,37 @@ static int map_grant_pages(struct grant_map *map) } pr_debug("map %d+%d\n", map->index, map->count); - err = gnttab_map_refs(map->map_ops, use_ptemod ? map->kmap_ops : NULL, - map->pages, map->co

Re: [Xen-devel] [PATCH v2 1/2] xen/grant-table: Avoid m2p_override during mapping

2014-01-16 Thread Stefano Stabellini
On Mon, 13 Jan 2014, Zoltan Kiss wrote: > This patch does the following: > - move the m2p_override part from grant_[un]map_refs to gntdev, where it is > needed after mapping operations As I wrote earlier, I am not against the idea of moving the m2p_override calls in principle, but I would like t

[PATCH v2 1/2] xen/grant-table: Avoid m2p_override during mapping

2014-01-13 Thread Zoltan Kiss
This patch 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 grant_[un]map_refs, because it is needed always Signed-off-by: Zoltan Kiss Suggested-by: David Vrabel