Re: [PATCH] mm/kmemleak: Fix percpu memory leak detection failure

From: Catalin Marinas
Date: Tue Dec 31 2024 - 07:05:04 EST


On Fri, Dec 27, 2024 at 05:23:10PM +0800, Guo Weikang wrote:
> kmemleak_alloc_percpu gives an incorrect min_count parameter, causing
> percpu memory to be considered a gray object.
>
> Fixes: 8c8685928910 ("mm/kmemleak: use IS_ERR_PCPU() for pointer in the percpu address space")
>
> Signed-off-by: Guo Weikang <guoweikang.kernel@xxxxxxxxx>

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