From: Al Viro Date: Sat, 21 Apr 2012 01:49:41 +0000 (-0400) Subject: aio: don't bother with unmapping when aio_free_ring() is coming from exit_aio() X-Git-Tag: v3.4-rc4~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=936af1576e4c24b466380fc2b8d93352161d13b0;p=pandora-kernel.git 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 --- Reading git-diff-tree failed