]> git.baikalelectronics.ru Git - kernel.git/commit
lib/stackdepot.c: use __GFP_NOWARN for stack allocations
authorKirill A. Shutemov <kirill@shutemov.name>
Thu, 28 Jul 2016 22:49:10 +0000 (15:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Jul 2016 23:07:41 +0000 (16:07 -0700)
commit5a85a6c1bcd894c1bbbe538359ef35f9bf1bfb62
tree5fb2aa47513f3d7385da242d7100e37177876b48
parentdaffb9bdeac458969a5a83e6e0b9ac76f317f31c
lib/stackdepot.c: use __GFP_NOWARN for stack allocations

This (large, atomic) allocation attempt can fail.  We expect and handle
that, so avoid the scary warning.

Link: http://lkml.kernel.org/r/20160720151905.GB19146@node.shutemov.name
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Rik van Riel <riel@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/stackdepot.c