mm-mglru-exclude-folios-promoted-by-aging-from-protected-in-inc_min_seq.patch removed from -mm tree
The quilt patch titled
Subject: mm/mglru: exclude folios promoted by aging from protected in inc_min_seq()
has been removed from the -mm tree. Its filename was
mm-mglru-exclude-folios-promoted-by-aging-from-protected-in-inc_min_seq.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Barry Song (Xiaomi)" <[email protected]>
Subject: mm/mglru: exclude folios promoted by aging from protected in inc_min_seq()
Date: Wed, 2 Sep 2026 07:24:18 +0800
Some folios may have been promoted during aging, so don't count them as protected, similar to sort_folio().
---
mm/vmscan.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-mglru-exclude-folios-promoted-by-aging-from-protected-in-inc_min_seq +8 -8
@@ -3962,17 +3962,17 @@ static bool inc_min_seq(struct lruvec *lif (gen_increased) { delta += nr_pages;list_move_tail (&folio->lru, &lrugen->folios[new_gen][type][zone]); + +/* don't count the workingset being lazily promoted */ +if (refs + workingset !=BIT (LRU_REFS_WIDTH ) +1 ) { +int tier =lru_tier_from_refs (refs, workingset); + +WRITE_ONCE (lrugen->protected[hist][type][tier], + lrugen->protected[hist][type][tier] + nr_pages); + } }else {list_move (&folio->lru, &lrugen->folios[new_gen][type][zone]); } -/* don't count the workingset being lazily promoted */ -if (refs + workingset !=BIT (LRU_REFS_WIDTH ) +1 ) { -int tier =lru_tier_from_refs (refs, workingset); - -WRITE_ONCE (lrugen->protected[hist][type][tier], - lrugen->protected[hist][type][tier] + nr_pages); - } -if (!--remaining)break ; }
_
Patches currently in -mm which might be from [email protected] are
mm-mglru-restore-accidentally-removed-seq-max_seq-check.patch