|
|
Log in / Subscribe / Register

A new era for memory-management maintainership

By Jonathan Corbet
May 7, 2026

LSFMM+BPF
On April 21, Andrew Morton let it be known that he intends to begin stepping away from the maintainership of kernel's memory-management subsystem — a responsibility he has carried since before memory management was even seen as its own subsystem. At the 2026 Linux Storage, Filesystem, Memory Management, and BPF Summit, one of the first sessions in the memory-management track was devoted to how the maintainership would be managed going forward. There are a lot of questions still to be answered.

Morton started by observing that he had received almost no responses to his announcement. That was, he suggested, a result of the fact that he was asking others to take on more responsibility in the subsystem; developers are going to have to pick up a lot of tasks.

[Andrew Morton] How that work can be spread out is an open question. There are 164 C files in the kernel's mm directory; a quick search shows that terms like "THP" (transparent huge page), "cgroup" (control group), and "NUMA" each show up in a large number of those files. The core memory-management concepts, in other words, are widely spread throughout the subsystem. Moving code around might help a bit, Morton said, but not much; everything is heavily interlinked, so trying to split up the subsystem will be challenging. But, he noted with a smile, "it's not my problem".

Regardless of how successful a split is, there will always be a need for a catch-all tree serving the subsystem as a whole. The management of that catch-all and integration tree will be picked up by David Hildenbrand; Morton offered his thanks to Hildenbrand for taking on that responsibility.

The memory-management developers (and those for the kernel as a whole), he said, have many layers of defense to prevent the shipping of bad code to users. The community can put out random stuff, but it goes through weeks of testing in the -mm tree, followed by more weeks of testing after landing in the mainline kernel. Fixes can be backported into the stable kernels for years, and distributors provide further layers of assistance. More recently, Sashiko, by providing a new level of patch review, has become yet another layer of defense.

Developers should, he said, recognize that they are not creating production-quality code at the outset; they are creating a technology and letting others turn it into products. All of the layers of defense allow developers to pursue an "aggressive rate of change". There is a downside to that change rate, though: it puts a lot of pressure on reviewers. Within the memory-management subsystem, the review work is quite lopsided, in that a small number of people do the bulk of the review, while many developers do not carry much of the review load at all. He does not understand why things work that way, and wishes that the situation could be improved.

The memory-management team, he said, is a great group of people; they are cooperative and quick to help each other. He worries, though, that the community could, over time regress to be like other parts of the kernel or other open-source projects, where emails are ignored because maintainers are too busy. Ignoring messages from contributors, he said, is shameful and unacceptable. But, he thinks, the memory-management community does value its culture and will work to maintain it.

Matthew Wilcox said that, when somebody asks him how to get started within the community, he always encourages them to start reviewing patches. That advice is often not taken, though. He added that, while he tries to respond to email, there are days where he is simply unable to reply to all of the messages that have shown up. Dan Williams said that the community has long depended on Morton to apply pressure when responses are needed; Hildenbrand and others will need to apply that pressure in the future.

Hildenbrand responded that there will always need to be somebody who makes sure that people are doing their part; that's part of what makes the subsystem great. The level of developer frustration within memory management is lower than in many other subsystems. He worries a bit about the onset of LLM-based review tools, though. Everybody agrees that there is a need for more human reviewers, so he thinks that reviews from tools like Sashiko should not be posted to the public lists. Early-stage reviewers, who are just learning their way around, will be demotivated by seeing that automated reviews have already found many of the problems. Automated review, Hildenbrand said, should be one of the last lines of defense, not the first.

[David Hildenbrand] Liam Howlett said that sending LLM-based reviews to one-off contributors can have the effect of validating bad ideas; a number of participants suggested that these tools are good at finding bugs, but less good at addressing the question of whether a given change should be made at all. Morton said that beginning reviewers often focus on understandability issues that more experienced developers will skip over; that, too, is important feedback.

At the end of the session, Hildenbrand stepped up to thank the community for trusting him with the responsibility for running the integration tree. He warned Morton that the community was not going to let him go easily, though, there will be a lot of questions. Some sort of working group will be formed, Hildenbrand said, to figure out how the memory-management community's development model should work in the future. It may be that more sub-components will move to their own trees, while there will always be the integration tree to pull everything all together. He closed by letting it be known that he would not be doing all of the work on his own.

Index entries for this article
KernelDevelopment model
ConferenceStorage, Filesystem, Memory-Management and BPF Summit/2026


to post comments

Thank you for your service o7

Posted May 7, 2026 14:48 UTC (Thu) by jpeisach (subscriber, #181966) [Link]

What a role. Cheers to Andrew for all his work.

Is it even a good idea to ask people to do reviews?

Posted May 7, 2026 18:38 UTC (Thu) by Conan_Kudo (subscriber, #103240) [Link] (6 responses)

Matthew Wilcox said that, when somebody asks him how to get started within the community, he always encourages them to start reviewing patches. That advice is often not taken, though.

My experience going down this road has been somewhat negative, so I understand why people don't do it. There was a long period where I was doing reviews to participate in the Linux kernel developer community, but my reviews were actively ignored. There were cases where my reviews were rejected because I wasn't known enough, notable enough, assumed to not be capable enough to review, or some other random issue. I think overall the community is somewhat hostile to new people contributing through this path. The lesson I learned is that contributing broadly to the kernel is unwanted. Although as a Linux distribution stakeholder I care about more than just one small aspect, I instead focused down to a smaller window where the people cared about my feedback.

Is it even a good idea to ask people to do reviews?

Posted May 7, 2026 19:57 UTC (Thu) by corbet (editor, #1) [Link] (4 responses)

In my experience, kernel developers are actively hungry for good reviews and welcome new reviewers. Where I have seen things go wrong is when somebody new comes in and demands changes (perhaps incorrect changes) from contributors; that tends to end badly. For this reason, my advice is always to ask questions about patches rather than asserting that something is wrong. Developers are usually happy to explain things, the reviewer will learn something, and they might turn up a real problem.

That said, let me be clear that I have not observed your interactions with the community; I am speaking generally. In a community of thousands, you will surely encounter all kinds of people, and some will be more welcoming than others. You may have encountered the others.

Is it even a good idea to ask people to do reviews?

Posted May 7, 2026 20:26 UTC (Thu) by koverstreet (subscriber, #4296) [Link] (3 responses)

> actively hungry for good reviews

That qualifier leaves an awful lot of wiggle room.

The thing that always strikes me about these sorts of conversations is that there's always a whole lot from maintainers about what the _community_ can do, and never a shortage of comments about how maintainers are overworked and burned out, and a striking absence of "what can we as maintainers do to make it easier for people to engage and unblock people".

But someone needs to be thinking proactively and long term, and there needs to be a sense of priorities, or you do end up painting yourself into a corner.

The kernel community has always been hyper focused on code and patches, but the truth is, as projects grow that doesn't scale. You need documentation - not just end user documentation, but real design documentation that describes how stuff fits together and gives people some shared sense of plans and priorities. You need usable and coherent test tooling and infrastructure; you need mentorship so new people aren't lost fending for themselves. You need people who can say "ok, this subsystem has gotten to be a tangled mess; we need to back off on performance optimizations until we turn this into something we can understand again".

I know you've been hammering on documentation longer than anyone. But as someone who's (still!) been spending entirely too much time just this week debugging and working around nutty mm behavior - well, there's room for improvement.

Is it even a good idea to ask people to do reviews?

Posted May 8, 2026 10:01 UTC (Fri) by Wol (subscriber, #4433) [Link] (2 responses)

> The kernel community has always been hyper focused on code and patches, but the truth is, as projects grow that doesn't scale. You need documentation - not just end user documentation, but real design documentation that describes how stuff fits together and gives people some shared sense of plans and priorities.

I hate to say it, but that's my experience. As a fair few of you know I maintained the kernel raid wiki for quite a while. I sort of kept an eye on it for a good while after that (it didn't need much doing to it - I turned rev1 into rev2, at which point it was pretty stable). Then all of a sudden it was archived and replaced with a notice saying "this content is obsolete, please refer to the kernel documentation for the latest". ???

Firstly, this was done with - as far as I can tell (I could have missed it) - no attempt to reach out to me. Secondly, the site was created (and I maintained it) as USER documentation, "what is raid, why would you want it, how to set it up, how to fix problems" etc etc. NOT the stuff you find in kernel documentation (yes I have tried to read the kernel raid documentation).

The lack of contact hurts, yes. But the assumption that USERS can understand KERNEL documentation hurts the most. Users learn what they need to know. They don't have *time* for an in-depth understanding.

Cheers,
Wol

Is it even a good idea to ask people to do reviews?

Posted May 8, 2026 14:12 UTC (Fri) by koverstreet (subscriber, #4296) [Link]

Yeeouch.

If you ever want to get involved in bcachefs on the documentation side, that is... not how we do things.

I've been consolidating everything into the PoO, which is up to 110 pages, and the last major update was initially done by Jerome and Nikita before I piled a lot more on. I don't think I'll consider it reasonably complete before it hits 250+, with the first half being nice gentle end user documentation explaining concepts and focusing on use cases and the last half being thorough reference documentation that covers every subsystem.

These massively complicated systems we build don't do people much good if no one can understand how they work :)

Is it even a good idea to ask people to do reviews?

Posted May 8, 2026 21:44 UTC (Fri) by IanKelling (subscriber, #89418) [Link]

I'm still living off that "archived" documentation :(

Is it even a good idea to ask people to do reviews?

Posted May 7, 2026 23:56 UTC (Thu) by jpeisach (subscriber, #181966) [Link]

> My experience going down this road has been somewhat negative, so I understand why people don't do it. There was a long period where I was doing reviews to participate in the Linux kernel developer community, but my reviews were actively ignored. There were cases where my reviews were rejected because I wasn't known enough, notable enough, assumed to not be capable enough to review, or some other random issue. I think overall the community is somewhat hostile to new people contributing through this path. The lesson I learned is that contributing broadly to the kernel is unwanted.

I think if you're trying to submit a patch to a huge mailing list, it is guaranteed to get lost unless you're a big name. I found luck in smaller subsystems and by contacting the maintainers, asking when it was appropriate for a patch resend.

Manual versus Automated Reviews

Posted May 8, 2026 3:05 UTC (Fri) by Heretic_Blacksheep (guest, #169992) [Link] (1 responses)

"Automated review, Hildenbrand said, should be one of the last lines of defense, not the first."

I don't agree. Automation is a tool and it makes people more productive as a rule. It shouldn't be shunted aside as a "last line" of defense. But as a tool, it's only going to work as well as the person using it is skilled in utilizing it, just like fuzzing, test harness production, debuggers, static analysis or formal verification processes or any other tool.

Just because others increasingly deploy automated tools doesn't make learning by doing less useful. Use the automated tools as a check on work similar to the cheat sheets in the back of most text books these days. If you're learning, you don't *start* with the cheat. You use the cheat to check your work and to work backwards from it. It's not necessarily the only answer possible, and that's the difference between someone who's just learning, and someone who needs to get work done who's already graduated into some role of responsibility. For a concrete example consider this: when a calculus student has been given a problem to find the area under a curve, they can look in the back of the book for the resultant formula, but when the test comes around they can't work the logical progression to get their on their own. That shortcut is on them and it rightly cost them their grade. However, when an engineer needs to do the same thing they immediately just jump to MathCAD and accept the answer that experience tells them is correct so they can get on with designing the rest of the structure to hold up to certain environmental stresses.

The craft isn't going to go away, but both sides need to make room for the other.

Manual versus Automated Reviews

Posted May 8, 2026 6:33 UTC (Fri) by gmprice (subscriber, #167884) [Link]

The reason it's the last line of defense is because the first line of defense is the "Should the proposed idea even be considered" review.

Imagine a patch set that said: "drop 32-bit kernel support".

There's no point to reviewing the contents of the patch series until the community hashes out whether that's a good idea.

An AI review is nearly worthless in this scenario.


Copyright © 2026, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds