mm/vmalloc.c: report more vmalloc failures
authorJoe Perches <joe@perches.com>
Tue, 1 Nov 2011 00:08:48 +0000 (17:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:48 +0000 (17:30 -0700)
commitde7d2b567d040e3b67fe7121945982f14343213d
treec834efc1b4117049b5da786417d9cc14c2b31076
parentf0dfcde099453aa4c0dc42473828d15a6d492936
mm/vmalloc.c: report more vmalloc failures

Some vmalloc failure paths do not report OOM conditions.

Add warn_alloc_failed, which also does a dump_stack, to those failure
paths.

This allows more site specific vmalloc failure logging message printks to
be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c