mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
SLUB: failslab support
Currently fault-injection capability for SLAB allocator is only available to SLAB. This patch makes it available to SLUB, too. [[email protected]: unify slab and slub implementations] Cc: Christoph Lameter <[email protected]> Cc: Matt Mackall <[email protected]> Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
This commit is contained in:
parent
3c92ec8ae9
commit
773ff60e84
6 changed files with 79 additions and 70 deletions
|
|
@ -699,6 +699,7 @@ config FAULT_INJECTION
|
|||
config FAILSLAB
|
||||
bool "Fault-injection capability for kmalloc"
|
||||
depends on FAULT_INJECTION
|
||||
depends on SLAB || SLUB
|
||||
help
|
||||
Provide fault-injection capability for kmalloc.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue