diff options
author | Jennifer Herbert <jennifer.herbert@citrix.com> | 2015-01-05 16:07:46 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-01-28 15:03:15 +0100 |
commit | 745282256c754ac5ed3dbe2fbef6471dc1373417 (patch) | |
tree | 9dbec8c554c05a2dde6dad9c040dba740486c077 /arch/powerpc/configs/mpc86xx_defconfig | |
parent | xen/gntdev: convert priv->lock to a mutex (diff) | |
download | linux-745282256c754ac5ed3dbe2fbef6471dc1373417.tar.xz linux-745282256c754ac5ed3dbe2fbef6471dc1373417.zip |
xen/gntdev: safely unmap grants in case they are still in use
Use gnttab_unmap_refs_async() to wait until the mapped pages are no
longer in use before unmapping them.
This allows userspace programs to safely use Direct I/O and AIO to a
network filesystem which may retain refs to pages in queued skbs after
the filesystem I/O has completed.
Signed-off-by: Jennifer Herbert <jennifer.herbert@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/powerpc/configs/mpc86xx_defconfig')
0 files changed, 0 insertions, 0 deletions