Re: [PATCH v2 2/2] mm/mglru: make retry logic explicit in isolate_folios()
From: Baolin Wang
Date: Mon Aug 31 2026 - 04:54:41 EST
On 8/29/26 3:42 PM, Barry Song (Xiaomi) wrote:
The existing mainline code retries the same type once in a rather
subtle way. `for_each_evictable_type()` may provide one more iteration,
allowing the same type to be retried if we scanned some folios but
failed to isolate any due to protections, promotions, or races. This
patch makes the retry behavior explicit.
Signed-off-by: Barry Song (Xiaomi) <baohua@xxxxxxxxxx>
---
LGTM.
Reviewed-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>