Re: [PATCH] mm: get the folio's refcnt before clear PG_lru in folio_isolate_lru

From: Matthew Wilcox
Date: Wed Mar 27 2024 - 08:25:39 EST


On Wed, Mar 27, 2024 at 03:55:16PM +0800, zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
>
> Bellowing race happens when the caller of folio_isolate_lru rely on the
> refcnt of page cache. Moving folio_get ahead of folio_test_clear_lru to
> make it more robust.

No, as explained to you multiple times before.