diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2017-03-16 16:40:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-16 16:56:18 -0700 |
commit | 171012f561274784160f666f8398af8b42216e1f (patch) | |
tree | 3de492fa1da58baf1ef565c7f13b7edab1c4d3f6 /kernel/memremap.c | |
parent | d0f33ac9ae7b2a727fb678235ae37baf1d0608d5 (diff) | |
download | linux-171012f561274784160f666f8398af8b42216e1f.tar.gz linux-171012f561274784160f666f8398af8b42216e1f.tar.bz2 linux-171012f561274784160f666f8398af8b42216e1f.zip |
mm: don't warn when vmalloc() fails due to a fatal signal
When vmalloc() fails it prints a very lengthy message with all the
details about memory consumption assuming that it happened due to OOM.
However, vmalloc() can also fail due to fatal signal pending. In such
case the message is quite confusing because it suggests that it is OOM
but the numbers suggest otherwise. The messages can also pollute
console considerably.
Don't warn when vmalloc() fails due to fatal signal pending.
Link: http://lkml.kernel.org/r/20170313114425.72724-1-dvyukov@google.com
Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/memremap.c')
0 files changed, 0 insertions, 0 deletions