Skip to content
Commit 936af157 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6be5ceb0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment