On Sun, Aug 16, 2026 at 11:46:09PM +0100, Kiryl Shutsemau wrote: > From: "Kiryl Shutsemau (Meta)" <[email protected]> > > 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) <[email protected]> > --- > 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 <[email protected]> > +L: [email protected] > +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. > MEMORY MANAGEMENT - CORE > M: Andrew Morton <[email protected]> > M: David Hildenbrand <[email protected]> > @@ -17272,12 +17286,7 @@ T: git > git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm > F: Documentation/ABI/testing/sysfs-kernel-mm-transparent-hugepage > F: Documentation/admin-guide/mm/transhuge.rst > F: include/linux/huge_mm.h > -F: include/linux/khugepaged.h > -F: include/trace/events/collapse.h > F: mm/huge_memory.c > -F: mm/khugepaged.c > -F: mm/mm_slot.h > -F: tools/testing/selftests/mm/khugepaged.c > F: tools/testing/selftests/mm/split_huge_page_test.c > F: tools/testing/selftests/mm/transhuge-stress.c > > -- > 2.54.0 > -- Cheers, Lorenzo
