summaryrefslogtreecommitdiff
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-21 01:49:41 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2012-04-21 05:58:16 (GMT)
commit936af1576e4c24b466380fc2b8d93352161d13b0 (patch)
treeb7ecc2a4706ab25b0d06af7bac5fdf5d0fc7acb5 /mm/mmap.c
parent6be5ceb02e98eaf6cfc4f8b12a896d04023f340d (diff)
downloadlinux-936af1576e4c24b466380fc2b8d93352161d13b0.tar.xz
aio: don't bother with unmapping when aio_free_ring() is coming from exit_aio()
... since exit_mmap() is coming and it will munmap() everything anyway. In all other cases aio_free_ring() has ctx->mm == current->mm; moreover, all other callers of vm_munmap() have mm == current->mm, so this will allow us to get rid of mm argument of vm_munmap(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions