diff options
| author | Qian Cai <[email protected]> | 2018-11-30 14:09:48 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-11-30 14:56:14 -0800 |
| commit | 8de456cf87ba863e028c4dd01bae44255ce3d835 (patch) | |
| tree | ed5a4baf7f2e82b3f8f0d3db330edc54a1c42731 /include/linux/fpga/fpga-bridge.h | |
| parent | dcf7fe9d89763a28e0f43975b422ff141fe79e43 (diff) | |
debugobjects: avoid recursive calls with kmemleak
CONFIG_DEBUG_OBJECTS_RCU_HEAD does not play well with kmemleak due to
recursive calls.
fill_pool
kmemleak_ignore
make_black_object
put_object
__call_rcu (kernel/rcu/tree.c)
debug_rcu_head_queue
debug_object_activate
debug_object_init
fill_pool
kmemleak_ignore
make_black_object
...
So add SLAB_NOLEAKTRACE to kmem_cache_create() to not register newly
allocated debug objects at all.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Qian Cai <[email protected]>
Suggested-by: Catalin Marinas <[email protected]>
Acked-by: Waiman Long <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions