Skip to content
  • Heiko Carstens's avatar
    [S390] mm: handle kernel caused page fault oom situations · 99583181
    Heiko Carstens authored
    
    
    If e.g. copy_from_user() generates a page fault and the kernel runs
    into an OOM situation the system might lock up.
    If the OOM killer sends a SIG_KILL to the current process it can't
    handle it since it is stuck in a copy_from_user() - page fault loop.
    
    Fix this by adding the same fix as other architectures have.
    
    E.g. the x86 variant f86268 "x86/mm: Handle mm_fault_error() in kernel
    space"
    
    Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    99583181