]> git.baikalelectronics.ru Git - kernel.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)
commit3324e795c921eede775e7eb734de8cbe22e22127
tree499a2a058a00fdab4f02ebe90489bc0e5a05a6cd
parentc627d3709b083a20728e786e5c594248e36e583c
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