6904817607
most architectures are relying on mmap_sem for write in their arch_setup_additional_pages. If the waiting task gets killed by the oom killer it would block oom_reaper from asynchronous address space reclaim and reduce the chances of timely OOM resolving. Wait for the lock in the killable mode and return with EINTR if the task got killed while waiting. Signed-off-by: Michal Hocko <mhocko@suse.com> Acked-by: Andy Lutomirski <luto@amacapital.net> [x86 vdso] Acked-by: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
Makefile | ||
asm-offsets.c | ||
dma.c | ||
head.S | ||
hexagon_ksyms.c | ||
irq_cpu.c | ||
kgdb.c | ||
module.c | ||
process.c | ||
ptrace.c | ||
reset.c | ||
screen_info.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
syscalltab.c | ||
time.c | ||
trampoline.S | ||
traps.c | ||
vdso.c | ||
vm_entry.S | ||
vm_events.c | ||
vm_init_segtable.S | ||
vm_ops.S | ||
vm_switch.S | ||
vm_vectors.S | ||
vmlinux.lds.S |