• Ley Foon Tan's avatar
    nios2: Port OOM changes to do_page_fault() · 96f3a5cc
    Ley Foon Tan authored
    Commit d065bd81 ("mm: retry page fault when blocking on disk transfer") and
    and commit 37b23e05 ("x86,mm: make pagefault killable")
    
    The above commits introduced changes into the nios2 pagefault handler
    for making the page fault handler retryable as well as killable.
    
    These changes reduce the mmap_sem hold time, which is crucial
    during OOM killer invocation.
    Signed-off-by: default avatarLey Foon Tan <lftan@altera.com>
    96f3a5cc
fault.c 6.76 KB