Skip to contentSkip to conversation

mm-proc-pid-smaps_rollup-fix-maple-tree-search.patch removed from -mm tree

merged mm-hotfixes-stable Andrew Morton 1 participant 1 message Oct 21, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: /proc/pid/smaps_rollup: fix maple tree search
has been removed from the -mm tree. Its filename was
mm-proc-pid-smaps_rollup-fix-maple-tree-search.patch

This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Hugh Dickins <[email protected]>
Subject: mm: /proc/pid/smaps_rollup: fix maple tree search
Date: Tue, 18 Oct 2022 20:18:38 -0700 (PDT)

/proc/pid/smaps_rollup showed 0 kB for everything: now find first vma.

Fixes c4c84f06285e ("fs/proc/task_mmu: stop using linked list and highest_vm_end")
Cc Alexey Dobriyan <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Vlastimil Babka <[email protected]>

---

 fs/proc/task_mmu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/proc/task_mmu.c renamed from fs/proc/task_mmu.c~mm-proc-pid-smaps_rollup-fix-maple-tree-search +1 -1
@@ -902,7 +902,7 @@ static int show_smaps_rollup(struct seq_
 		goto out_put_mm;
 
 	hold_task_mempolicy(priv);
-	vma = mas_find(&mas, 0);
+	vma = mas_find(&mas, ULONG_MAX);
 
 	if (unlikely(!vma))
 		goto empty_set;

_

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