]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/vmalloc.c: report more vmalloc failures
authorJoe Perches <joe@perches.com>
Wed, 28 Sep 2011 00:50:20 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:27 +0000 (14:53 +1000)
commitafd043ecfd4ece6a939191b78d6291b6e444d302
tree44c32002c371db368423f6e48af071a73cc3c9d1
parentdbc8b9b9bf3264ed74c5daf0dfcc487e1cd1d245
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 <>
mm/vmalloc.c