diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2008-12-23 05:37:01 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-12-29 04:27:46 -0500 |
commit | 773ff60e841461cb1f9374a713ffcda029b8c317 (patch) | |
tree | c3691b5a82261a3d2c1861f2913774faac63fa96 /lib | |
parent | 3c92ec8ae91ecf59d88c798301833d7cf83f2179 (diff) |
SLUB: failslab support
Currently fault-injection capability for SLAB allocator is only
available to SLAB. This patch makes it available to SLUB, too.
[penberg@cs.helsinki.fi: unify slab and slub implementations]
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b0f239e443bc..af65ae7f0549 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -699,6 +699,7 @@ config FAULT_INJECTION | |||
699 | config FAILSLAB | 699 | config FAILSLAB |
700 | bool "Fault-injection capability for kmalloc" | 700 | bool "Fault-injection capability for kmalloc" |
701 | depends on FAULT_INJECTION | 701 | depends on FAULT_INJECTION |
702 | depends on SLAB || SLUB | ||
702 | help | 703 | help |
703 | Provide fault-injection capability for kmalloc. | 704 | Provide fault-injection capability for kmalloc. |
704 | 705 | ||