From: Daniel De Graaf Date: Wed, 2 Jan 2013 22:57:12 +0000 (+0000) Subject: xen/gntdev: correctly unmap unlinked maps in mmu notifier X-Git-Tag: v3.8-rc5~41^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a1d0225e22e4e273e6b60a21db95decde666c2;p=pandora-kernel.git xen/gntdev: correctly unmap unlinked maps in mmu notifier If gntdev_ioctl_unmap_grant_ref is called on a range before unmapping it, the entry is removed from priv->maps and the later call to mn_invl_range_start won't find it to do the unmapping. Fix this by creating another list of freeable maps that the mmu notifier can search and use to unmap grants. Signed-off-by: Daniel De Graaf Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed