Thread (119 messages) flat view 119 messages, 9 authors, 11d ago

Re: [RFC PATCH 57/57] MAINTAINERS: add an entry for collapse

From: "David Hildenbrand (Arm)" <david@kernel.org>
Date: 2026-08-17 08:08:40
Also in: bpf, linux-kselftest, linux-mm, lkml

On 8/17/26 10:04, Lorenzo Stoakes (ARM) wrote:
On Sun, Aug 16, 2026 at 11:46:09PM +0100, Kiryl Shutsemau wrote:
quoted
From: "Kiryl Shutsemau (Meta)" <kas@kernel.org>

Collapse is now its own body of code: mm/collapse.c, a header stating what
it offers a caller, and its own tracepoint family.  It has two callers,
the khugepaged daemon and MADV_COLLAPSE, rather than living inside one of
them.

Add a section for it, and move what belongs to it out of the THP entry:
khugepaged.c and its header, the trace header, the selftests, and
mm_slot.h.

The selftests are matched as khugepaged*.c, which also covers the race and
sync-check harnesses the THP entry did not list.  mm_slot.h stays listed
under KSM as well, which is the other user of it.

Assisted-by: Claude-Code:claude-opus-5
Signed-off-by: Kiryl Shutsemau (Meta) <kas@kernel.org>
---
 MAINTAINERS | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7c179b333e4e..4e4e5030b979 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16955,6 +16955,20 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
 F:	include/linux/balloon.h
 F:	mm/balloon.c

+MEMORY MANAGEMENT - COLLAPSE
+M:	Kiryl Shutsemau <kas@kernel.org>
+L:	linux-mm@kvack.org
+S:	Maintained
+W:	http://www.linux-mm.org
+T:	git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
+F:	include/linux/khugepaged.h
+F:	include/trace/events/collapse.h
+F:	mm/collapse.c
+F:	mm/collapse.h
+F:	mm/khugepaged.c
+F:	mm/mm_slot.h
+F:	tools/testing/selftests/mm/khugepaged*.c
+
I'll look through the series properly, but presumably this is a separation of
the THP collapse logic, and therefore should have the same maintainers/reviewers
as the rest of THP.
Jup.

-- 
Cheers,

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help