Re: [PATCH -next] mm/kmemleak: move the initialisation of object to __link_object

From: Catalin Marinas
Date: Mon Oct 23 2023 - 06:56:14 EST


On Mon, Oct 23, 2023 at 10:51:25AM +0800, Liu Shixin wrote:
> Leave __alloc_object() just do the actual allocation and __link_object()
> do the full initialisation.
>
> Suggested-by: Catalin Marinas <catalin.marinas@xxxxxxx>
> Signed-off-by: Liu Shixin <liushixin2@xxxxxxxxxx>

It looks fine to me. Thanks.

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