]> 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>
Tue, 4 Oct 2011 07:38:37 +0000 (18:38 +1100)
commit95f20af4b6a2a74abe4762fb18deb4ea2ee96fc7
tree735b86f9f3b5a077d46eb00cfef3a88feb836d27
parentbdc17b096062914029c9233b450a779ac32ea75c
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