]> 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>
Thu, 29 Sep 2011 06:08:09 +0000 (16:08 +1000)
commitaa279126399b52c483de68041aa681b0a394134d
tree303f08cdb63dd04507f51fc56ed712bb7547bd18
parent23175c18a5bea643944ba8058d2f4d41cd0332cb
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