LWN: Comments on "Defragmenting the kernel development process" https://lwn.net/Articles/799134/ This is a special feed containing comments posted to the individual LWN article titled "Defragmenting the kernel development process". en-us Wed, 01 Oct 2025 20:37:38 +0000 Wed, 01 Oct 2025 20:37:38 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Defragmenting the kernel development process https://lwn.net/Articles/814867/ https://lwn.net/Articles/814867/ pabs <div class="FormattedComment"> Fedora retrace is completely unrelated to kerneloops and oops.kernel.org, the latter is vendor agnostic while the former is RedHat/Fedora specific.<br> </div> Fri, 13 Mar 2020 23:42:39 +0000 Defragmenting the kernel development process https://lwn.net/Articles/800241/ https://lwn.net/Articles/800241/ smitty_one_each <div class="FormattedComment"> It's vaguely comforting that even Really Smart Hackers have as much challenge getting the team synchronized as us mortals.<br> </div> Sat, 21 Sep 2019 19:10:23 +0000 Defragmenting the kernel development process https://lwn.net/Articles/800036/ https://lwn.net/Articles/800036/ dbkm11 <div class="FormattedComment"> <font class="QuotedText">&gt; Torvalds said that lore.kernel.org works so well for him that he is considering unsubscribing from linux-kernel entirely.</font><br> <p> Checkout the tool <a href="https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/l2md.git/">https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/...</a> , it basically fetches mails via lore.kernel.org archives and places them into maildir format for email clients (like mutt et al). This would in fact allow to completely unsubscribe. ;-)<br> </div> Thu, 19 Sep 2019 23:20:44 +0000 Defragmenting the kernel development process https://lwn.net/Articles/800002/ https://lwn.net/Articles/800002/ Cyberax <div class="FormattedComment"> I remember using an Outlook-To-IMAP proxy to enable mutt, when I was writing a Linux kernel patch.<br> </div> Thu, 19 Sep 2019 18:20:28 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799929/ https://lwn.net/Articles/799929/ jgg <div class="FormattedComment"> Modern cloud Office365 is perfectly fine as far as deliverability and email content integrity. As long as you don't use Outlook as a client of course.<br> <p> Where Linux really falls down is that all the usual tools we use for email don't support OAUTH2 - so you often can't actually login to the corp email server anyhow (be it gmail or office365 based). Sigh.<br> <p> And of course Office365 apparently doesn't support OAUTH for IMAP, only SMTP!<br> <p> I lost all hope when I saw the Linux team at Microsoft had to setup their own email server.<br> </div> Thu, 19 Sep 2019 12:43:06 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799894/ https://lwn.net/Articles/799894/ neilbrown <div class="FormattedComment"> <font class="QuotedText">&gt; That sounds like my light-weight pull-requests idea</font><br> <p> Yes, that's the one.<br> <p> I think spam is a solvable problem.<br> If you required the HEAD pushed to always have a signed tag, then you would have a basis for establishing reputation (and you would encourage tag signing, which is a *good* *thing*).<br> <p> If the signing key doesn't have reputation, the pushed information is limited in some way and it not forwarded to any (public) email lists.<br> In that case, the author needs to copy some text that was returned by the server into an email message - which can be sent with any old MUA. IT would include a link to find the patch.<br> I'm not sure how reputation would be gained or revoke, but some combination of automatic flow analysis and crowd-sourcing (if 3 reputable keys vouch for a new key, it gets reputation?)<br> <p> You wrote that "support in git-daemon is needed" but I think it provides everything you need. You can certainly enable anonymous push, and there are hooks that allow you to check any change to the repo before it happens, so you should be able to prototype something yourself.<br> <p> <p> <p> </div> Thu, 19 Sep 2019 04:35:40 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799886/ https://lwn.net/Articles/799886/ pabs <div class="FormattedComment"> That sounds like my light-weight pull-requests idea, which was inspired by the fact that some branchable.com sites allow anonymous git pushes.<br> <p> <a href="https://public-inbox.org/git/1486427537.16949.42.camel@bonedaddy.net/">https://public-inbox.org/git/1486427537.16949.42.camel@bo...</a><br> </div> Thu, 19 Sep 2019 01:53:01 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799648/ https://lwn.net/Articles/799648/ neilbrown <div class="FormattedComment"> <font class="QuotedText">&gt; At least Exchange (which is probably the most common big corp mail setup) is known to corrupt patches (IIRC, both in- and outcoming).</font><br> <p> There is a proposal floating around to have an open git server and allow anyone to submit patches using "git push" instead of "git-send-email".<br> Exactly how that would work I'm not sure. but one of the things that I do like about gerrit is that submitting patches with "git push" is quite easy.<br> Maybe that initiative could tip the balance away from gmail.<br> <p> </div> Wed, 18 Sep 2019 06:12:17 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799588/ https://lwn.net/Articles/799588/ meyert <div class="FormattedComment"> Btw how does retracs correlate to kernel oops? <a href="https://retrace.fedoraproject.org/faf/problems/?component_names=kernel&amp;associate=__None&amp;daterange=2019-09-03%3A2019-09-17&amp;bug_filter=None&amp;function_names=&amp;binary_names=&amp;source_file_names=&amp;since_version=&amp;since_release=&amp;to_version=&amp;to_release=">https://retrace.fedoraproject.org/faf/problems/?component...</a><br> </div> Tue, 17 Sep 2019 20:52:29 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799442/ https://lwn.net/Articles/799442/ broonie <div class="FormattedComment"> Even with DKIM things are still super unreliable these days - systems will just take a random dislike to mail for reasons that are completely undocumented, and things that look a bit unusual (like technical mail) are especially prone to suffering problems.<br> </div> Tue, 17 Sep 2019 11:58:44 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799372/ https://lwn.net/Articles/799372/ pabs <div class="FormattedComment"> I had a discussion with the kerneloops developers recently, it sounds like they have been trying to get some interest from the Linux kernel community in the general idea of having access to user oops reports and in kerneloops in particular without any success for years. BTW I've mailed them your question.<br> </div> Tue, 17 Sep 2019 06:35:59 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799333/ https://lwn.net/Articles/799333/ pizza <div class="FormattedComment"> ...Exchange and Outlook have done more to ruin email's utility than everything else combined.<br> </div> Mon, 16 Sep 2019 14:47:30 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799289/ https://lwn.net/Articles/799289/ dezgeg <div class="FormattedComment"> At least Exchange (which is probably the most common big corp mail setup) is known to corrupt patches (IIRC, both in- and outcoming).<br> </div> Mon, 16 Sep 2019 14:08:15 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799278/ https://lwn.net/Articles/799278/ intgr <div class="FormattedComment"> <font class="QuotedText">&gt; Some years ago, the kerneloops site provided a clear view of where the problem hotspots were</font><br> <p> But what happened to kerneloops anyway? I remember setting up the daemon on every one of my machines and servers. Only to discover later that it was defunct. Was it just that nobody cared? Surely if someone cared, the kernel community would be able to find the resources to keep it running?<br> <p> </div> Mon, 16 Sep 2019 12:47:09 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799275/ https://lwn.net/Articles/799275/ idrys <div class="FormattedComment"> <font class="QuotedText">&gt;&gt; A full 90% of linux-kernel subscribers are using Gmail,</font><br> <p> <font class="QuotedText">&gt; Are they? How sad. You would have thought that we would have learned from the bit-keeper fiasco that depending on non-free tools as a bad idea. It seems not.</font><br> <p> I wonder how many of them are using Gmail because of corporate mail setups that suck at dealing with large amounts of mail.<br> <p> Also, judging from the patches I see sent by Patch Author &lt;author@gmail.com&gt; with the author being Patch Author &lt;author@bigcorp.com&gt;, many corporate mail setups obviously suck at sending stuff as well, and people fall back to Gmail...<br> <p> </div> Mon, 16 Sep 2019 11:09:38 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799265/ https://lwn.net/Articles/799265/ LtWorf <div class="FormattedComment"> If you don't set dkim up, it's very unlikely for your email to be delivered.<br> </div> Mon, 16 Sep 2019 09:02:44 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799245/ https://lwn.net/Articles/799245/ neilbrown <div class="FormattedComment"> <font class="QuotedText">&gt; None of the tools out there are perfect (far from it), but the majority of them are /far/ better than tracking patches in emails</font><br> <p> Are they? I never really had any trouble tracking patches with email(*).<br> To be a contender to the established method, a new tool must not only be better (which I agree that some are), it must also be no worse. I find them all to be worse (as well as better).<br> <p> (*) the only real weakness with email is that I would sometimes miss patches. A gentle reminder from the sender after a few weeks of silence always got things moving again and improved the sense of community - some times humans are better than mechanical solutions.<br> <p> </div> Sun, 15 Sep 2019 23:53:15 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799224/ https://lwn.net/Articles/799224/ k3ninho <div class="FormattedComment"> <font class="QuotedText">&gt; Which particular feature(s) unique to gmail are its users actually dependent on?</font><br> <p> I can't speak to _unique_ but the "feature" is not rejecting as spam the stuff you've sent from your own mail server. The arc of this development can be read at ex-Symbolics Lisp/ex-Netscape hacker Jamie Zawinski's blog -- <a href="https://www.jwz.org/blog/tag/mail/">https://www.jwz.org/blog/tag/mail/</a> -- and shows that running your own email servers and communicating widely is hampered by proprietorial relays including Gmail, Microsoft, GoDaddy, Earthlink, Dreamhost and more. I get that spam has broken e-mail and that the paradox of allowing people to post to the SMTP-based social network means that you have to filter later if the posts made were unwanted or malicious.<br> <p> Kernel development is a social network with some patch transport and discussion in messages and concrete source trees backing these up. Metadata like 'acked-by' and which systems tested the changes or how to replicate found bugs, that stuff needs to annotate the patches and be searchable, then reputations need to be used to retain a high signal-to-noise ratio. And because it's a social network, where Linus (among others) goes, people will follow.<br> <p> K3n.<br> </div> Sun, 15 Sep 2019 15:37:58 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799220/ https://lwn.net/Articles/799220/ cjwatson <div class="FormattedComment"> Right, the pseudoheader requirement is a cheap way to prevent most spam in the form of new bugs, but does nothing to prevent spam to existing bugs. For that we have little choice but to muddle along with traditional spam-detection tools and after-the-fact removal. Unfortunately there would likely be an outcry if we started requiring accounts.<br> <p> (Systems that require accounts aren't immune to spam by any means, but having messages more systematically linked to identities does make some things a lot easier.)<br> </div> Sun, 15 Sep 2019 12:04:48 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799216/ https://lwn.net/Articles/799216/ pabs <div class="FormattedComment"> <font class="QuotedText">&gt; cross-package bugs</font><br> <p> Not sure what you mean by that, but with debbugs there are a few things that seem related to what you said:<br> <p> Bugs can be in package foo but marked as affecting package bar.<br> <p> You can assign a bug to multiple packages when a change in any single package can fix the issue.<br> <p> You can mark a bug as being blocked by another bug.<br> <p> You can clone a bug and then reassign the clone, updating the blocked info at the same time.<br> <p> The usertags stuff seems relevant too.<br> </div> Sun, 15 Sep 2019 04:03:19 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799214/ https://lwn.net/Articles/799214/ roc <div class="FormattedComment"> The logic often seems to be "The Linux kernel is a tremendously successful project, so the way Linux kernel development is organized must already be excellent." And of course everyone likes to believe that the way we are used to doing things does not need to change.<br> </div> Sun, 15 Sep 2019 02:52:05 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799213/ https://lwn.net/Articles/799213/ lsl <div class="FormattedComment"> I guess the possible payoff is just not big enough for spammers to adapt their programs to emit the appropriate pseudo headers that make it a valid bug report.<br> </div> Sun, 15 Sep 2019 02:24:29 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799212/ https://lwn.net/Articles/799212/ marcH <div class="FormattedComment"> Which particular feature(s) unique to gmail are its users actually dependent on?<br> <p> </div> Sun, 15 Sep 2019 02:08:10 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799211/ https://lwn.net/Articles/799211/ neilbrown <div class="FormattedComment"> <font class="QuotedText">&gt; A full 90% of linux-kernel subscribers are using Gmail,</font><br> <p> Are they? How sad. You would have thought that we would have learned from the bit-keeper fiasco that depending on non-free tools as a bad idea. It seems not.<br> <p> </div> Sun, 15 Sep 2019 01:51:41 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799207/ https://lwn.net/Articles/799207/ marcH <div class="FormattedComment"> <font class="QuotedText">&gt; As the discussion wound down, Abbott suggested that what is needed is a kernel DevOps team populated with developers who are good at creating that sort of infrastructure.</font><br> <p> That's the core issue. Tools and design choices will keep people bikesh... fascinated and busy discussing for years on end but without some actual and skilled manpower these discussions will forever keep going around in circles.<br> <p> Speaking of manpower, so-called "DevOps" and validation roles have since forever been less respected/funded/promoted than nobler "developer" roles and the Linux kernel is not much worse than the rest of the industry. Maybe it's changing? Very slowly as any culture change. I think we're starting to see conferences on these topics, did any mention the kernel? <br> <p> <font class="QuotedText">&gt; The first session at the 2019 Linux Kernel Maintainers Summit was a *last-minute addition to the schedule*.</font><br> <p> Emphasis mine :-)<br> </div> Sat, 14 Sep 2019 22:36:39 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799206/ https://lwn.net/Articles/799206/ marcH <div class="FormattedComment"> <font class="QuotedText">&gt; no messing about with registering an account just to report a single minor bug.</font><br> <p> That's the essence of spam: I wonder how it's prevented in this particular case.<br> </div> Sat, 14 Sep 2019 22:23:05 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799205/ https://lwn.net/Articles/799205/ marcH <div class="FormattedComment"> <font class="QuotedText">&gt; We have many of the necessary pieces to do better, but there is also a lot of fragmentation. Every kernel subsystem does things differently; there is a distinct lack of identity for the kernel as a whole.</font><br> <font class="QuotedText">&gt; ...</font><br> <font class="QuotedText">&gt; There are at least seven major testing systems out there (he listed 0day, kernelci.org, CKI, LKFT, ktest, syzbot, and kerneltests) when we should just have one good system.</font><br> <p> Seven is too many. One would be too little. Not just to keep some competition alive but simply because the kernel is a really huge project and one size doesn't fit all.<br> <p> If you think test suites for Wifi, filesystems, graphics and schedulers can re-use validation tools and test code then... it's likely these common things are not even specific to the Linux kernel at all.<br> <p> Same for bug trackers: re-use is always good but a little diversity and competition doesn't hurt either and again a Linux Wifi bug and a Linux filesystem bug don't really seem much closer to each other than to a bug in openssh or whatever. Granted: they can be tracked on the same git history. Who cares, I'm not even using that filesystem anyway.<br> <p> Even if all areas of the kernel ever use the exact same tools and processes one day, they should still run different _instances_ to keep things under reasonable and manageable size. Who still reads the lkml? People have been using more focused mailing lists for ages.<br> <p> </div> Sat, 14 Sep 2019 22:20:57 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799204/ https://lwn.net/Articles/799204/ marcH <div class="FormattedComment"> <font class="QuotedText">&gt; None of the tools out there are perfect (far from it), but the majority of them are /far/ better than tracking patches in emails. It amazes me that all this is controversial and would love to understand the reasons behind it better.</font><br> <p> Good news, you came to best place: <a href="https://www.google.com/search?q=site%3Alwn.net+email">https://www.google.com/search?q=site%3Alwn.net+email</a><br> </div> Sat, 14 Sep 2019 22:04:21 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799199/ https://lwn.net/Articles/799199/ spwhitton <div class="FormattedComment"> Well, sourcehut is still in alpha. But something that makes adoption easier than some other platforms is how modular the different sourcehut components are. You can just use what you like.<br> </div> Sat, 14 Sep 2019 19:20:17 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799198/ https://lwn.net/Articles/799198/ wiktor <div class="FormattedComment"> I'm also interested in whether sourcehut.org is being considered or not (maybe due to sheer size of the LKML).<br> <p> Another tool that provides data format first and uses git itself as a storage for code review is git-appraise: <a href="https://github.com/google/git-appraise">https://github.com/google/git-appraise</a><br> </div> Sat, 14 Sep 2019 19:08:34 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799196/ https://lwn.net/Articles/799196/ mpr22 <div class="FormattedComment"> As a bug submitter, on the other hand, the Debian BTS is my absolute favourite - no messing about with registering an account just to report a single minor bug.<br> </div> Sat, 14 Sep 2019 17:27:52 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799195/ https://lwn.net/Articles/799195/ paravoid <div class="FormattedComment"> <font class="QuotedText">&gt; Hellwig put in a good word for the Debian bug-tracking system, which allows most things to be done using email.</font><br> <p> ...what? debbugs is a very old piece of software, and it shows. It's not scalable (ironically, bug pages for packages like Linux are among the ones that suffer the most), lacks even relatively simple features (cross-package bugs), lacks any integration with any other tooling, and is confusing to interact with for even the most experienced developers. The fact that changes happen through a custom command language, cannot be previewed before acted upon, are not realtime (you have to wait for your email to be processed) and often take a while to take full effect (due to caching) adds to the confusion. IIRC there were (heroic) attempts in the past to add a... SOAP interface to it but I don't think it's being used much (I may be wrong).<br> <p> I've been using the Debian BTS for 15 years and I often still struggle. It's probably one of the biggest demotivators I have while working in Debian. That's not a criticism to its maintainers - it was probably great in the 90s or early 00s and has improved a lot in the past few years, but it still pales in comparison to the tools that exist out there today (Phabricator/GitHub/GitLab etc.). Plus it really is a bug tracking system, not a patch management system, so it feels entirely off-topic to the discussion at hand (and my understanding is that Linux has Bugzilla for a BTS?). Patch management-wise, Debian never used its BTS for anything but drive-by small patch submission attached to emails. Most of us actually switched to a Debian-hosted version of GitLab for repository hosting, merge request management &amp; some (limited) CI recently and it has been an exciting journey.<br> <p> Beyond that, it has always puzzled me how the Linux kernel community -the community that invented and popularized git!- has remained so far behind in its tooling, and stuck in old ways. Bug tracking, code review, patch management/tracking, and CI all seem intertwined with each other and really require unified tooling to manage adequately, for seasoned and new developers alike. None of the tools out there are perfect (far from it), but the majority of them are /far/ better than tracking patches in emails. It amazes me that all this is controversial and would love to understand the reasons behind it better.<br> </div> Sat, 14 Sep 2019 17:17:10 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799193/ https://lwn.net/Articles/799193/ spwhitton <div class="FormattedComment"> The discussion of using git as a transport layer reminds one of the kind of work Joey Hess has done in the past decade, on tools like git-annex and propellor.<br> <p> A lot of the challenges discussed in this article are being thought about by people working on &lt;<a href="https://sourcehut.org/">https://sourcehut.org/</a>&gt;. In particular, CI and series tracking for e-mail based workflows.<br> </div> Sat, 14 Sep 2019 16:04:33 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799171/ https://lwn.net/Articles/799171/ pbonzini <blockquote>&gt; If patchwork could put multiple versions of a patch series into a Git repository, Ts'o said, it would enable a lot of interesting functionality, such as showing the differences between versions.</blockquote> <p>Let me introduce <a href="https://patchew.org/QEMU">Patchew</a>! Patchew was started when patchwork seemed to be mostly dead, so it is somewhat similar to Patchwork 2.0. But it has some nice functionality such as version comparison, pushing each submitted series to git (complete with Reviewed-by tags and the like), simple integration with testing and a <a href="https://patchew.org/api/v1/projects/">REST API</a>. It should also be quite easy to write new plugins to automatically parse syzbot or 0day emails and turn them into test failures. Sat, 14 Sep 2019 09:43:08 +0000 Defragmenting the kernel development process https://lwn.net/Articles/799170/ https://lwn.net/Articles/799170/ cyphar <div class="FormattedComment"> I wonder if this could be taken as an opportunity to start looking at whether [1] is a viable proposal to solve the problems in our workflows.<br> <p> [1]: <a href="https://lwn.net/Articles/793037/">https://lwn.net/Articles/793037/</a><br> </div> Sat, 14 Sep 2019 09:34:05 +0000