• Linus Torvalds's avatar
    mm: make the page fault mmap locking killable · eda00472
    Linus Torvalds authored
    This is done as a separate patch from introducing the new
    lock_mm_and_find_vma() helper, because while it's an obvious change,
    it's not what x86 used to do in this area.
    
    We already abort the page fault on fatal signals anyway, so why should
    we wait for the mmap lock only to then abort later? With the new helper
    function that returns without the lock held on failure anyway, this is
    particularly easy and straightforward.
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    eda00472
memory.c 165 KB