Re: [PATCH v3 2/8] mm: use zone lock guard in unset_migratetype_isolate()
From: Zi Yan
Date: Wed Apr 29 2026 - 11:52:44 EST
On 29 Apr 2026, at 8:02, Dmitry Ilvokhin wrote:
> Use spinlock_irqsave zone lock guard in unset_migratetype_isolate() to
> replace the explicit lock/unlock and goto pattern with automatic
> scope-based cleanup.
>
> Suggested-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Signed-off-by: Dmitry Ilvokhin <d@xxxxxxxxxxxx>
> Acked-by: Michal Hocko <mhocko@xxxxxxxx>
> ---
> mm/page_isolation.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
Acked-by: Zi Yan <ziy@xxxxxxxxxx>
Best Regards,
Yan, Zi