]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86: mm: move mmap_sem unlock from mm_fault_error() to caller
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 15 Dec 2014 22:46:06 +0000 (14:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 15 Dec 2014 22:46:06 +0000 (14:46 -0800)
commit7fb08eca45270d0ae86e1ad9d39c40b7a55d0190
tree499a2a058a00fdab4f02ebe90489bc0e5a05a6cd
parent67e2c3883828b39548cee2091b36656787775d95
x86: mm: move mmap_sem unlock from mm_fault_error() to caller

This replaces four copies in various stages of mm_fault_error() handling
with just a single one.  It will also allow for more natural placement
of the unlocking after some further cleanup.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/fault.c