Skip to contentSkip to conversation

mm-vmalloc-make-sure-to-dump-unpurged-areas-in-proc-vmallocinfo.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/vmalloc: make sure to dump unpurged areas in /proc/vmallocinfo
has been removed from the -mm tree. Its filename was
mm-vmalloc-make-sure-to-dump-unpurged-areas-in-proc-vmallocinfo.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Eric Dumazet <[email protected]>
Subject: mm/vmalloc: make sure to dump unpurged areas in /proc/vmallocinfo

If last va found in vmap_area_list does not have a vm pointer, vmallocinfo.s_show() returns 0, and show_purge_info() is not called as it should.

Fixes dd3b8353bae7 ("mm/vmalloc: do not keep unpurged areas in the busy tree")
Cc Uladzislau Rezki (Sony) <[email protected]>
Cc Pengfei Li <[email protected]>

---

 mm/vmalloc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
mm/vmalloc.c renamed from mm/vmalloc.c~mm-vmalloc-make-sure-to-dump-unpurged-areas-in-proc-vmallocinfo +2 -1
@@ -3913,7 +3913,7 @@ static int s_show(struct seq_file *m, vo
 			(void *)va->va_start, (void *)va->va_end,
 			va->va_end - va->va_start);
 
-		return 0;
+		goto final;
 	}
 
 	v = va->vm;
@@ -3954,6 +3954,7 @@ static int s_show(struct seq_file *m, vo
 	/*
 	 * As a final step, dump "unpurged" areas.
 	 */
+final:
 	if (list_is_last(&va->list, &vmap_area_list))
 		show_purge_info(m);
 

_

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