diff options
author | Michal Hocko <mhocko@suse.com> | 2016-05-24 02:25:54 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-24 03:04:14 +0300 |
commit | 69048176078adda4087a648c9b1812ddd800fad1 (patch) | |
tree | 7eba1558fe80c2d1de46f5d2f7cad404dc7da5ee /fs | |
parent | 91f4f94ea3f2eabb4cee68149a31e30f84a993dd (diff) | |
download | linux-69048176078adda4087a648c9b1812ddd800fad1.tar.xz |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions