On Mon, Nov 26, 2018 at 11:53:43AM -0500, Qian Cai wrote: > 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 > ... > > Hence, adding SLAB_NOLEAKTRACE to kmem_cache_create() to not register a > newly allocated debug objects at all. > > Suggested-by: Catalin Marinas <[email protected]> > Signed-off-by: Qian Cai <[email protected]>
Acked-by: Catalin Marinas <[email protected]>

