Skip to content

AI·News & analysis

Linux 7.4 has the biggest merge window ever, and AI is behind much of it

The next Linux kernel took in nearly 20,000 commits before its first test build, the most ever. Phoronix ties the surge to AI tools, while Linus Torvalds says it is not the only reason.

By Dan Kost aka Poseidan8 min readX
Linus Torvalds, right, in a black T-shirt, sitting on a white armchair on stage at LinuxCon Europe during an onstage conversation
Photo: Krd / Wikimedia Commons, CC BY-SA 4.0

Tide

Ripple

Sci-fi

4/10

Reality

In your hands

Robots reviewing code, humans still pressing merge.How we rate

The Squeeze

The Linux 7.4 merge window brought in 19,671 commits, the largest in the kernel's history, Phoronix reports.

Phoronix links the surge to AI and LLM tools that find bugs and suggest fixes, while Linus Torvalds says a long-term support release also draws bigger pulls. The kernel tree now holds about 41.6 million lines. The first test build, 7.4-rc1, was due later on Sunday.

What to know

  1. The Linux 7.4 merge window brought in 19,671 commits since Linux 7.3, the busiest on record, Phoronix reports.
  2. Merge windows used to carry 13,000 to 14,000 commits or fewer; Phoronix says the recent jump is due to AI and LLM activity.
  3. Linus Torvalds called the release large and full of fixes for issues found by AI, but said 7.4 is also expected to be a long-term support release.
  4. The kernel source tree is now about 41.6 million lines, and nearly half a million lines of code were added in this window.

The next version of Linux just broke a record, Phoronix reports: its merge window is the biggest in the kernel's history. Slashdot picked up the story and added Linus Torvalds' own take.

So how do you get nearly 20,000 changes into a project in two weeks? And what does AI have to do with it?

First, what's a merge window?

Linux is built in cycles. Each cycle starts with a merge window, a stretch of about two weeks when Torvalds accepts big batches of new work.

The people who look after each area of the kernel, like graphics or file storage, send him their finished changes. Each change is called a commit, a saved edit with a short note about what it does.

When the window closes, Torvalds publishes a first test version called rc1, short for release candidate. After that, only fixes are supposed to come in.

How big is "largest ever"?

Phoronix counted 19,671 commits since Linux 7.3 as it wrote on Sunday. It called this the busiest merge window on record by commit count.

Phoronix also looked back at windows since Linux 3.1, released in 2011. Typically they held 13,000 to 14,000 commits or fewer. Now they are pushing 20,000.

  • Commits: 19,671 since Linux 7.3, with a few more possible before rc1.
  • Source tree size: 41,605,120 lines, according to Phoronix.
  • Code: 31,417,938 lines, plus 4,993,604 lines of comments and 5,193,578 blank lines.
  • Added in this window: nearly half a million lines of code, ignoring comments and blank lines.

By the numbers: Linux 7.3 was the first time a whole cycle passed 20,000 commits, with 20,260 from v7.2 to v7.3. Linux 7.4 reached almost that many in the merge window alone.

Where does AI come in?

Phoronix says the kernel's pace has been climbing for about a year. Linux is popular, from consumer devices to giant data centers. But it says a lot of the extra patches are due to AI and LLM tools.

An LLM, or large language model, is the kind of AI behind chatbots. Here it reads code and looks for mistakes.

Phoronix writes that kernel maintainers are "completely overwhelmed" by both AI generated bug reports and AI generated patches and fixes. Much of the AI activity is around fixes, so the flood does not stop when the merge window ends.

In real life Imagine a school with one teacher grading homework. Suddenly every student has a helper that finds mistakes in everyone's essays. The teacher gets far more corrections to read, and each one still needs a human decision.

What did Torvalds say?

Slashdot quotes Torvalds' weekly state-of-the-kernel update. He described this release as "Large, and full of fixes for issues found by AI."

He added that more and more patches have been suggested by AI too, "although they often get rewritten." That means a person usually reworks the suggestion before it goes in.

Torvalds also gave a second reason. "People are expecting 7.4 to be the next long-term support release," he wrote.

He called that "another independent reason why some releases tend larger than others." His conclusion: "So it may not just be the flood of AI patches."

What is a long-term support release?

Most kernel versions are supported for a short time. A long-term support (LTS) release is picked to get fixes for years.

Phone makers, server companies and device builders lean on those versions. So developers have a reason to get their work in before the version is locked in.

That is why Torvalds says the AI flood may not be the whole story. Both things can be true at once: more machine-found fixes, and more people rushing to land work in a version that will stick around.

Is this a new trend?

It has been building for months. In August, TechRadar reported that Torvalds called the Linux 7.2-rc7 test build part of a "new normal" of oversized release candidates, with many fixes coming from reviews by various AI tools.

TechRadar counted more than 400 fixes from upwards of 230 contributors in that single pull. That is a size you would expect early in a cycle, not near the end.

The kernel has also been working out its rules for AI help. We covered how maintainers moved to drop the Assisted-by tag that asked contributors to disclose AI help in their patches.

The big picture: TechRadar draws a line between AI that reviews code and AI that writes it. The tools in that story were review agents that produce bug reports. Humans then write the fixes and send them through the normal process.

What did the last cycle look like?

Linux 7.4 follows a Linux 7.3 cycle that already ran hot. The Next Web counted 615 commits from 292 contributors in the 7.3-rc2 announcement alone. An rc2 is normally the quiet week.

Torvalds joked about it in that post. "It might be just random," he wrote, "but we'll obviously all blame it on AI, because whether that's really the cause or not, it's an easy thing to blame."

He then noted that nothing looked particularly odd. The joke came instead of a diagnosis, and a month later the record merge window arrived.

The catch: the numbers show a bigger flow, not a cause. Commit counts cannot say how much came from AI tools and how much from the long-term support rush. That is why Torvalds himself says it may not just be the flood of AI patches.

Can the maintainers keep up?

The kernel runs on a trust chain. A few trusted maintainers read and test code before it reaches Torvalds, who pulls it into the main tree.

TechRadar notes the risk in that model: a few people may not want an AI-powered firehose of fixes to review forever. Phoronix uses the word "overwhelmed" for the same pressure.

Torvalds has not asked anyone to slow down. In the rc7 post he said nothing looked particularly scary, and the fixes were spread across drivers, filesystems, core networking and architecture code, as TechRadar reports.

What's next for Linux 7.4?

Phoronix said Linux 7.4-rc1 was expected later on Sunday, once the last commits trickled in. After rc1, the kernel normally goes through a series of weekly test builds.

The sources do not give a final release date. They also do not say how Torvalds and the maintainers plan to handle a flow of patches this size.

What's next: the rc builds will show whether the bug fixes flowing in now make the final release calmer. The open question is how long volunteers and company engineers can keep reading a firehose of changes.

What it means for you

  • If you use Linux: more fixes landing early is generally good news, though you will not notice it day to day. Your distribution decides when 7.4 reaches you.
  • If you write code: AI review is turning into a normal part of big projects. The human still has to read, rewrite and take responsibility.
  • If you run a team or project: plan for review capacity. Finding bugs is getting cheaper; deciding what to merge is not.

The bottom line

Linux 7.4 set a record, and AI tools that find bugs and suggest fixes look like a big part of the reason. Torvalds says a likely long-term support release plays a part too.

The headline is the number, but the story is the people. Humans still decide what goes into the kernel, and now they have a lot more to read.

Key facts

Commits in the window
19,671 since Linux 7.3
Typical past window
13,000 to 14,000 commits or fewer
Kernel source tree
About 41.6 million lines
Lines of code added
Nearly half a million
Full 7.3 cycle
20,260 commits, v7.2 to v7.3

Got questions?

Quick answers, plain words

What is a merge window in Linux?

It is the first two weeks of a new kernel cycle, when Linus Torvalds accepts big batches of new work from the people who look after each part of the kernel. After it closes, the first release candidate, rc1, is published.

How big is the Linux 7.4 merge window?

Phoronix counted 19,671 commits since Linux 7.3, which it calls the busiest merge window on record. It said a few more commits could still arrive before the rc1 release.

Is AI writing the Linux kernel now?

Not on its own. Torvalds says many fixes are for issues found by AI and that more patches have been suggested by AI, but they often get rewritten by people. Humans still submit the patches.

Why did the merge window get so big?

Phoronix points to AI and LLM tools finding bugs and proposing fixes. Torvalds adds that 7.4 is expected to be a long-term support release, which is another reason releases tend to be larger.

What is a long-term support release?

It is a kernel version that gets bug fixes for years, so companies and device makers can build on it. People are expecting 7.4 to be the next one, Torvalds wrote.

How many lines of code is the Linux kernel?

Phoronix reports the source tree is up to 41,605,120 lines before rc1. Of those, 31,417,938 are code, 4,993,604 are comments and 5,193,578 are blank.

Does a bigger merge window mean a worse kernel?

Not by itself. A lot of the activity is bug fixes. Still, Phoronix says kernel maintainers are described as completely overwhelmed by the volume of AI generated bug reports and patches.

When is Linux 7.4 coming out?

The sources do not give a release date. The first release candidate, 7.4-rc1, was expected on Sunday, and kernels normally go through several more test builds before the final release.

SourcesPhoronix
Topics and tagslinux, open source, ai coding, linus torvalds

Get the next one in your inbox.

AI, tech and robots in five minutes. Free, every morning.

Go deeper

More in brief