Architecture Is a 956 KB Text File: How Volunteer Pipelines Actually Route Work
Linus Torvalds did not build a community in 1991. He published a tarball, a mailing address, and one rule: anyone can send a patch. Everything since — 2,652...
Linus Torvalds did not build a community in 1991. He published a tarball, a mailing address, and one rule: anyone can send a patch. Everything since — 2,652 developers in a single release cycle, 16,418 non-merge commits in 63 days — is the output of a pipeline he never designed.
The engineering question is not why volunteers show up. It is what the pipeline does with them at 260 commits a day.
Linux and Wikipedia are routinely described as peer production: many people, no employer, one shared artifact. That description is a press release. Underneath, both are routing systems with an admission gate, and the gate is the only stage that costs anything real.
Five Stages, Four of Them Machines
Strip the ideology and the kernel contribution path is five stages, each with a cost you can measure.
| Stage | Mechanism | Cost per patch |
|---|---|---|
| Ingest | mailing list, patchwork | seconds (SMTP) |
| Validate | checkpatch, syzbot, 0-day build bot | 0.5 s to minutes |
| Route | MAINTAINERS lookup | 113 ms per file |
| Gate | maintainer review, 1.4–2.1 revisions | hours to weeks |
| Serialize | merge window, then stable backport | weeks |
The asymmetry in that table is the entire story. Four stages are machines and cost milliseconds to seconds. The fifth costs a human afternoon, and no amount of hardware changes it.
Netdev, the busiest subsystem list in the kernel, moved 21,340 messages across 1,011 people in the 63 days ending 14 June 2026. That is 339 messages and 29 commits per day. Divide one by the other and you get 11.5 messages of traffic per merged commit. The traffic is not chatter; it is the gate doing its job in public.
Compare the machine stages. get_maintainer.pl answers "who owns this file" in 113 ms. checkpatch rejects a malformed patch in under a second. syzbot files a crash report nobody asked for.
If throughput were set by machines, the kernel would merge 16,418 patches a day instead of per nine-week cycle. It merges per cycle because the queue drains through people, and the merge window exists to bound how long that drain can run.
The stable trees make the same trade from the other end. A fix that lands in mainline still has to be backported, tagged with Fixes:, and re-reviewed against an older base — work that Greg Kroah-Hartman's process formalizes precisely because it is the part humans skip when they are tired.
Architecture Is a 956 KB Text File
The routing table that decides who sees your patch is a plain text file at the repository root. At HEAD it is 956,263 bytes across 31,005 lines: 3,411 sections, 10,199 F: patterns, 104 X: exclusions, 106 N: keyword regexes, and 943 sections listing more than one maintainer.
The matching rules are stricter than a grep. A pattern is anchored at the start of the path. If it does not end in /, the slash count must match exactly, so drivers/net/foo.c cannot capture a file three levels deeper.
Depth breaks ties: the deepest matching pattern wins, and two sections tied at the same depth both emit. X: excludes a file from a section before F: is consulted at all.
That last rule is where the subtle bugs live. X: drivers/net/wireless/ on a section whose F: is drivers/net/ removes the whole subtree from that section's ownership, and the file silently reappears under whichever section is next deepest. Nothing errors. The patch just goes to the wrong inbox.
I reimplemented the logic against the real tree — 97,401 files at HEAD — and diffed it against the Perl original on 150 random paths. Identical on all 150. Then I timed both on the same box.
import re, collections
META = set('\\*.+?[]()|{}^$')
def literal_dir(pat):
"""Longest literal directory prefix before the first regex metacharacter."""
i = 0
while i < len(pat) and pat[i] not in META:
i += 1
lit = pat[:i]
return lit[:lit.rfind('/')] if '/' in lit else ''
index = collections.defaultdict(list) # dir prefix -> [(section_id, pattern)]
global_patterns = []
for sid, section in enumerate(sections):
for pat in section['F']:
d = literal_dir(pat)
(index[d] if d else global_patterns).append((sid, pat))
def candidates(path):
"""Only patterns whose literal prefix can still match this path."""
out = list(global_patterns)
parts = path.split('/')
for k in range(1, len(parts)):
out.extend(index.get('/'.join(parts[:k]), ()))
return out
Measured on an i5-6500T: the shipped scripts/get_maintainer.pl costs 113 ms per file (1,000 files in 113.0 s, --no-git, no git fallback). The index above answers the same query in 265 µs per file — 418x faster, with seven patterns left in the global bucket and 2,589 directory buckets. Same semantics, same answers.
The distribution of that table is where the operational risk sits. 3.16% of files (3,079) match nothing and fall through to THE REST. 5.48% (5,339) resolve to two or more sections at equal depth, so every patch touching them fans out twice. And 73 sections own zero files in the current tree — dead entries that still cost a regex evaluation on every lookup.
Concentration is the other half. The ten largest sections own 16.9% of the tree, the top 100 own 57.6%, the top 200 own 71.3%. A single pattern edit near the top of the file can quietly take thousands of files from a section 2,000 lines below, and no tool in the chain will tell you until the wrong maintainer replies.
The S: field is the weakest part of the schema. It is free text, and 3,411 sections use twelve distinct spellings for six intents — Maintained (2,285), Supported (822), Orphan (146), Odd Fixes (87) next to Odd fixes (18), plus one section whose status reads Buried alive in reporters.
226 sections name no maintainer at all, and 47 name neither a maintainer nor a list, which is how a file becomes unroutable while still appearing in the table. Any query that groups by status returns a dozen rows for the same state. That is what happens when an enum ships as prose.
Portability is the trade: a text file every subsystem can patch beats a database only the maintainer can query — at the cost of no referential integrity, no index, and no error when two patterns collide.
Fan-Out: 5.4 Names per File
Routing does not produce one recipient. Across 40 random files the shipped tool returned 215 addresses: an average of 5.4 per file, a maximum of 10, and not a single file with an empty result. A three-file patch lands in roughly a dozen inboxes before anyone decides anything.
Netdev's maintainer publishes what happens next. Jakub Kicinski's per-cycle report states the list receives more than 150 patches every working day. He used to keep patchwork under 100 at the end of each day; he now cannot get it under 200. His line about the queue is the most honest admission-control document in open source: "If you think maintainers take forever to look at your code — it's probably your review standing."
Review standing is a computed number, not a vibe. Patches are ranked for review by the submitter's score and by their employer's score. In the 63-day window the top score was 768, then 376 and 346; the top ten mix individuals and companies. 50.84% of changesets got review and only 39.76% got cross-company review, which is the metric that predicts how much of the design space was actually challenged.
Review also has a price in revisions. Accepted single patches averaged 1.38 revisions, patch sets 2.13. Among accepted changesets, those that received review averaged 1.78 revisions against 1.41 for those merged without. Review catches things, and catching things costs another round.
def admit(queue, reviewers, cap=200):
"""Rank the queue by review standing, then spend reviewer hours top-down."""
for item in queue:
item.priority = (item.author_standing + item.company_standing) / 2
queue.sort(key=lambda i: (-i.priority, i.submitted_at))
budget = {r.name: r.hours_available for r in reviewers}
admitted, deferred = [], []
for item in queue:
owner = item.subsystem_maintainer
if budget[owner] < item.estimated_review_hours:
deferred.append(item) # queue depth grows here, silently
continue
budget[owner] -= item.estimated_review_hours
admitted.append(item)
return admitted, deferred
Ranking by standing is the correct engineering decision and a structural problem at once. It maximizes the value of scarce reviewer minutes by serving known-good submitters first. It also parks a first-time contributor with a correct patch behind a maintainer's colleague — precisely the population the project says it wants more of. Every admission policy that optimizes for reviewer time will do this, and the ones that do not will look slower for the first year.
Retention, Not Recruitment, Sets Throughput
7.2 took patches from 2,652 developers, 613 of them first-timers. Both are records. The naive read is a healthy funnel; the cohort data says something narrower.
LWN tracked every first-time contributor from 5.0 through 6.19. 36% were never seen again after one release. 16% appeared for exactly one more. 32% were still present at four releases or later.
Those three buckets are enough to compute the hazard rate, and it is the most useful number in this piece: 36% of newcomers vanish immediately, but of the 64% who return once, only 16/64 = 25% stop there. One return cuts the exit rate by a third. The curve is not memoryless — tenure makes people stickier, which is the opposite of what a churn model assumes.
one_and_done = 0.36 # never seen again
exactly_one = 0.16 # one more release, then gone
four_plus = 0.32 # present at 4+ releases
s1 = 1 - one_and_done # 0.64 return at least once
hazard_2 = exactly_one / s1 # 0.25 exit rate after one return
geometric = s1 ** 3 # 0.262 predicted 4+ survival
print(f"hazard 0->1: {one_and_done:.2f} 1->2: {hazard_2:.2f}")
print(f"predicted 4+ survival {geometric:.3f} vs observed {four_plus:.3f}")
A geometric model fitted to the 36% one-and-done rate predicts 26.2% survival to four releases. The observed figure is 32%. The gap is the second visit doing work that no onboarding document does, and it means the community's capacity is set by the size of its returning core rather than by its intake.
The Linux Foundation's 35-year report puts the same shape in absolute terms: 8,918 active individual contributors from September 2025 to August 2026, the top 100 of whom account for 45% of all contributions, across 981 organizations where seven organizations account for 53%.
Wikipedia shows the shape from the other side. English Wikipedia had 40,940 active editors in September 2026 — 5+ content edits — down 14.5% year over year. The very-active tier, 100+ edits a month, held at 4,284, down 1.7%.
Anonymous editors fell 19.3% while registered editors fell 0.5%. The churn is in the casual layer; the core barely moved.
Its gate has the opposite failure. A 2026 study of adminship across 284 Wikipedias found two-thirds of the largest projects losing admins since 2018, and attributed it primarily to insufficient recruitment rather than attrition. The reviewers are not leaving faster. Nobody is being promoted to replace them.
A Wikimedia Brasil study of 12,797 editors shows the same distribution at small scale: 89.2% took part in exactly one activity, and one in ten came back. Compare the kernel's one in three, and you can price what twenty years of tooling and a paid core actually buy.
Make the Gate's Taste Executable
The transferable artifact is not "let strangers contribute." It is that both projects spent two decades converting reviewer judgement into code that runs before the reviewer looks.
checkpatch encodes style. syzbot encodes "does it crash." The 0-day bot encodes "does it build on 200 configurations." None of them replace the maintainer. All of them delete the class of comment a maintainer should never have to write twice, which is the only way to raise patches-per-hour without lowering the bar.
Provenance is the newest thing to encode, and it is going badly. 7.2 carried 1,111 commits with an Assisted-by tag declaring LLM use — 6.8% of the cycle. The tag is self-declared, so it is a lower bound and nothing more. LWN's own report flags the cycle's most active newcomer: 43 commits touching input, NVMe, F2FS, AppArmor, Landlock, SELinux, NTFS, WiFi, ATA, SCSI, networking, Ceph and Thunderbolt, with no Assisted-by tags at all.
A seasoned developer could not reach that many subsystems in one cycle and still understand them. Whether the work is correct is a separate question from whether the pipeline can tell — and right now it cannot. The gate reviews the diff, not the process that produced it.
The process document draws the line at sign-off: a tool cannot certify the Developer Certificate of Origin, so an LLM may be credited in Assisted-by but never in Signed-off-by. That boundary is correct — attribution is a claim about the tool, sign-off is a legal claim about the human — and it is unenforceable from the diff alone.
The failure mode to avoid is retroactive enforcement. Applying a new rule to a 40-million-line corpus generates thousands of violations and teaches contributors that the gate is arbitrary. Scope the check to the diff, then ratchet: the rule binds every line you touch, and the corpus converges as it is edited.
The same discipline keeps a single-owner subsystem from becoming an outage — the owner field is a runtime dependency, and treating it as documentation is how a project loses a tree for a year.
The capacity arithmetic closes the loop. Netdev receives 150 patches per working day. At ten minutes of review each, that is 25 reviewer-hours every day for one subsystem list.
The queue depth of 200 is not a backlog problem. It is that equation, and it only balances two ways: fewer minutes per patch, or fewer patches.