linux/arch/sh/kernel/vsyscall
Michal Hocko 6904817607 vdso: make arch_setup_additional_pages wait for mmap_sem for write killable
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>
2016-05-23 17:04:14 -07:00
..
.gitignore sh: Initial gitignore list 2006-10-03 13:16:15 +09:00
Makefile kbuild: rename ld-option to cc-ldoption 2009-09-20 12:27:42 +02:00
vsyscall-note.S
vsyscall-sigreturn.S sh: vsyscall: Fix up .eh_frame generation. 2012-03-30 19:42:26 +09:00
vsyscall-syscall.S
vsyscall-trapa.S sh: vsyscall: Fix up .eh_frame generation. 2012-03-30 19:42:26 +09:00
vsyscall.c vdso: make arch_setup_additional_pages wait for mmap_sem for write killable 2016-05-23 17:04:14 -07:00
vsyscall.lds.S sh: Terminate .eh_frame in VDSO with a 4-byte 0. 2007-11-02 12:29:37 +09:00