2023-11-15 14:20:43

by Catalin Marinas

[permalink] [raw]
Subject: Re: [PATCH 2/2] mm/kmemleak: move set_track_prepare() outside raw_spinlocks

On Wed, Nov 15, 2023 at 04:21:38PM +0800, Liu Shixin wrote:
> set_track_prepare() will call __alloc_pages() which attempt to acquire
> zone->lock(spinlocks), so move it outside object->lock(raw_spinlocks)
> because it's not right to acquire spinlocks while holding raw_spinlocks
> in RT mode.
>
> Signed-off-by: Liu Shixin <[email protected]>

Acked-by: Catalin Marinas <[email protected]>

Thanks for the quick fixes.

--
Catalin