aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/page-flags.h
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux-foundation.org>2010-07-09 14:07:12 -0500
committerPekka Enberg <penberg@cs.helsinki.fi>2010-07-16 11:13:07 +0300
commitd7278bd7d1aab5c6d35fd271eeb860548f0bd0bb (patch)
tree24f82cf0c312c69291b7f4ed4879a0a345558cac /include/linux/page-flags.h
parentSLUB: Constants need UL (diff)
downloadlinux-dev-d7278bd7d1aab5c6d35fd271eeb860548f0bd0bb.tar.xz
linux-dev-d7278bd7d1aab5c6d35fd271eeb860548f0bd0bb.zip
slub: Check kasprintf results in kmem_cache_init()
Small allocations may fail during slab bringup which is fatal. Add a BUG_ON() so that we fail immediately rather than failing later during sysfs processing. Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'include/linux/page-flags.h')
0 files changed, 0 insertions, 0 deletions