diff options
author | Michal Hocko <mhocko@suse.com> | 2016-05-23 16:25:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 17:04:14 -0700 |
commit | ecc2bc8ac03884266cf73f8a2a42b911465b2fbc (patch) | |
tree | 9a9edd23784c51e8863c0259900a62bce07ad765 /mm/mmap.c | |
parent | 864778b154233d3a673c520aa9606777589ecee7 (diff) | |
download | blackbird-op-linux-ecc2bc8ac03884266cf73f8a2a42b911465b2fbc.tar.gz blackbird-op-linux-ecc2bc8ac03884266cf73f8a2a42b911465b2fbc.zip |
mm, elf: handle vm_brk error
load_elf_library doesn't handle vm_brk failure although nothing really
indicates it cannot do that because the function is allowed to fail due
to vm_mmap failures already. This might be not a problem now but later
patch will make vm_brk killable (resp. mmap_sem for write waiting will
become killable) and so the failure will be more probable.
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions