]> 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>
Thu, 6 Oct 2011 05:59:46 +0000 (16:59 +1100)
commit7df4a5edc5ed465ff4f20907c9bf926d1cf3a33a
tree557407175bf3eef21ab7aea98ca638422848b99a
parent893cce7fff33834954bd5642ac79481f881bc791
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