Skip to contentSkip to conversation

mm-vmscan-restore-incremental-cgroup-iteration-fix.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jun 25, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled

     Subject: mm: vmscan: reset sc->priority on retry

has been removed from the -mm tree. Its filename was
mm-vmscan-restore-incremental-cgroup-iteration-fix.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: Shakeel Butt <[email protected]>
Subject: mm: vmscan: reset sc->priority on retry
Date: Wed, 29 May 2024 08:49:11 -0700

The commit 6be5e186fd65 ("mm: vmscan: restore incremental cgroup iteration") added a retry reclaim heuristic to iterate all the cgroups before returning an unsuccessful reclaim but missed to reset the sc->priority. Let's fix it.

Fixes 6be5e186fd65 ("mm: vmscan: restore incremental cgroup iteration")
Reported-by [email protected]
Cc Johannes Weiner <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Rik van Riel <[email protected]>

---

 mm/vmscan.c |    1 +
 1 file changed, 1 insertion(+)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscan-restore-incremental-cgroup-iteration-fix +1 -0
@@ -6304,6 +6304,7 @@ retry:
 	 * meaningful forward progress. Avoid false OOMs in this case.
 	 */
 	if (!sc->memcg_full_walk) {
+		sc->priority = initial_priority;
 		sc->memcg_full_walk = 1;
 		goto retry;
 	}

_

Patches currently in -mm which might be from [email protected] are