Re: [PATCH v4 04/11] mm: vmscan: rework move_pages_to_lru()

From: Roman Gushchin
Date: Tue May 24 2022 - 22:43:15 EST


On Tue, May 24, 2022 at 02:05:44PM +0800, Muchun Song wrote:
> In the later patch, we will reparent the LRU pages. The pages moved to
> appropriate LRU list can be reparented during the process of the
> move_pages_to_lru(). So holding a lruvec lock by the caller is wrong, we
> should use the more general interface of folio_lruvec_relock_irq() to
> acquire the correct lruvec lock.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

With changes asked by Johannes :

Acked-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>

Thanks!