]> git.baikalelectronics.ru Git - kernel.git/commit
slub: do not fail if we cannot register a slab with sysfs
authorChristoph Lameter <clameter@sgi.com>
Fri, 31 Aug 2007 06:56:26 +0000 (23:56 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 31 Aug 2007 08:42:22 +0000 (01:42 -0700)
commit06390dc08caed11f8080e501f6c0dfda426631fa
treeaf328bd4d12b2b91c6fa53af94a78fcc370562ce
parentc069338345b1e61fa368964ac5aea777604aec28
slub: do not fail if we cannot register a slab with sysfs

Do not BUG() if we cannot register a slab with sysfs.  Just print an error.
 The only consequence of not registering is that the slab cache is not
visible via /sys/slab.  A BUG() may not be visible that early during boot
and we have had multiple issues here already.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c