]> Git Repo - linux.git/commit
mm: don't warn when vmalloc() fails due to a fatal signal
authorDmitry Vyukov <[email protected]>
Thu, 16 Mar 2017 23:40:27 +0000 (16:40 -0700)
committerLinus Torvalds <[email protected]>
Thu, 16 Mar 2017 23:56:18 +0000 (16:56 -0700)
commit171012f561274784160f666f8398af8b42216e1f
tree3de492fa1da58baf1ef565c7f13b7edab1c4d3f6
parentd0f33ac9ae7b2a727fb678235ae37baf1d0608d5
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/[email protected]
Signed-off-by: Dmitry Vyukov <[email protected]>
Reviewed-by: Matthew Wilcox <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmalloc.c
This page took 0.050945 seconds and 4 git commands to generate.