]> 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>
Wed, 12 Oct 2011 06:32:10 +0000 (17:32 +1100)
commit71e5de4ab4f3bb6a8e67b163f76c4004aa9ab84d
treea0781569785392c64c1ee741a7b441a61bd81e02
parent3747e80f11e8af9177ae499afc4a48f20fb7164e
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