linux/arch/x86/um/vdso
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 um/vdso: add .gitignore for a couple of targets 2013-11-17 11:32:07 +01:00
checkundef.sh um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
Makefile um: fix gcov build breakage 2011-11-02 14:15:26 +01:00
um_vdso.c um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vdso-layout.lds.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vdso-note.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vdso.lds.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vdso.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vma.c vdso: make arch_setup_additional_pages wait for mmap_sem for write killable 2016-05-23 17:04:14 -07:00