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

From: Catalin Marinas
Date: Thu Jan 08 2015 - 07:02:11 EST


On 5 January 2015 at 01:37, Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> 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
> kmemleak_erase() definition completely.

Good point.

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>

--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/