]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/vmalloc.c: report more vmalloc failures
authorJoe Perches <joe@perches.com>
Wed, 5 Oct 2011 00:43:07 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Oct 2011 06:06:42 +0000 (17:06 +1100)
commitf24ef3db91d696fa2d598d9fa5726c2fbb2ace5e
tree0ed80846ec84429f816cd06efec94a98634adb6d
parent8ba8e3f5d5b31b12fcd29beafe88fa0480a857b2
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>
mm/vmalloc.c