commit | 16a1d0225e22e4e273e6b60a21db95decde666c2 | [log] [tgz] |
---|---|---|
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | Wed Jan 02 22:57:12 2013 +0000 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Tue Jan 15 16:01:30 2013 -0500 |
tree | 4a640870d7121933f8a94d0fbe7e5fe7014e1bf2 | |
parent | 2512f298cb9886e06938e761c9e924c8448d9ab8 [diff] |
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 <dgdegra@tycho.nsa.gov> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>