[PATCH v3 0/6] support batched checking of the young flag for MGLRU
Baolin Wang
baolin.wang at linux.alibaba.com
Fri Mar 6 17:29:22 PST 2026
On 3/7/26 7:20 AM, Andrew Morton wrote:
> On Fri, 6 Mar 2026 14:43:36 +0800 Baolin Wang <baolin.wang at linux.alibaba.com> wrote:
>
>> This is a follow-up to the previous work [1], to support batched checking
>> of the young flag for MGLRU.
>>
>> Similarly, batched checking of young flag for large folios can improve
>> performance during large-folio reclamation when MGLRU is enabled. I
>> observed noticeable performance improvements (see patch 5) on an Arm64
>> machine that supports contiguous PTEs. All mm-selftests are passed.
>
> Thanks, I updated mm-new with this.
>
>> Changes from v2:
>> v2: https://lore.kernel.org/all/cover.1772185080.git.baolin.wang@linux.alibaba.com/
>> - Update the commit message of patch 5 (per David).
>> - Fix some coding style issues (per David).
>> - Remove 'cur_pte' variable in lru_gen_look_around() (per David).
>> - Move 'ptes += nr;' to the suitable place in folio_referenced_one() (per David).
>> - Add acked tag from David. Thanks.
>>
>
> Here's how v3 altered mm.git:
Thanks Andrew. LGTM.
More information about the linux-arm-kernel
mailing list