Thread (15 messages) 15 messages, 3 authors, 2026-03-10

Re: [PATCH v3 0/6] support batched checking of the young flag for MGLRU

From: Baolin Wang <baolin.wang@linux.alibaba.com>
Date: 2026-03-07 01:29:27
Also in: linux-mm, lkml


On 3/7/26 7:20 AM, Andrew Morton wrote:
On Fri,  6 Mar 2026 14:43:36 +0800 Baolin Wang [off-list ref] wrote:
quoted
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.
quoted
Changes from v2:
v2: https://lore.kernel.org/all/cover.1772185080.git.baolin.wang@linux.alibaba.com/ (local)
  - 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help