Re: [PATCH 2/6] mm/slab: remove kmemleak_erase() call

2015-01-08 Thread Catalin Marinas
On 5 January 2015 at 01:37, Joonsoo Kim wrote: > We already call kmemleak_no_scan() in initialization step of array cache, > so kmemleak doesn't scan array cache. Therefore, we don't need to call > kmemleak_erase() here. > > And, this call is the last caller of kmemleak_erase(), so remove > kmemle

[PATCH 2/6] mm/slab: remove kmemleak_erase() call

2015-01-04 Thread Joonsoo Kim
We already call kmemleak_no_scan() in initialization step of array cache, so kmemleak doesn't scan array cache. Therefore, we don't need to call kmemleak_erase() here. And, this call is the last caller of kmemleak_erase(), so remove kmemleak_erase() definition completely. Signed-off-by: Joonsoo K