Re: [PATCH v3 2/8] mm: use zone lock guard in unset_migratetype_isolate()

Zi Yan
2026-04-29T15:40:16Z

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@goodmis.org>
> Signed-off-by: Dmitry Ilvokhin <d@ilvokhin.com>
> Acked-by: Michal Hocko <mhocko@suse.com>
> ---
> mm/page_isolation.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
Acked-by: Zi Yan <ziy@nvidia.com>

Best Regards,
Yan, Zi