Skip to main content

TECH VEDA

Corporate on-site training - Submit proposal Pick your modulesSharpen your kernel skills: deep dives, drivers, Yocto, CVEs, careers — updated daily. Read the blog →
News

Kernel & Embedded News: Torvalds Rebukes AI ext4 Pull; slab_tiny to 7.5

Linux 7.4-rc5 arrives as another huge release candidate. Torvalds warns over a 41,000-line AI-assisted ext4 pull, slab_tiny moves to 7.5, and more.

Kernel & Embedded News: Torvalds Rebukes AI ext4 Pull; slab_tiny to 7.5

Linus Torvalds merged a 41,197-line, largely AI-generated ext4 pull request into Linux 7.4-rc5, with a public warning that release candidates are not the place for changes of that size. The same pressure is now visible at every stage of the pipeline: an in-tree directory of AI agent skills is ready to be sent for the 7.5 merge window, and three stable kernels arrived on a single day with more than 800 patches each. On the embedded side, the slab_tiny boot parameter replaces CONFIG_SLUB_TINY in the slab tree for 7.5, and the Tenstorrent Atlantis RISC-V platform was applied for the next cycle.

Three of this edition’s five items show the kernel’s process adjusting to AI-generated patches — in the release candidate phase, in the documentation tree, and in the size of stable updates. The other two are queued for Linux 7.5 and matter directly for embedded planning: the slab_tiny boot parameter and initial device tree support for an RVA23 RISC-V platform.

In this edition

  • Torvalds merges a 41,000-line AI-driven ext4 pull into 7.4-rc5, with a warning. The ext4 maintainer’s “fixes” pull consisted mostly of AI-generated bug fixes and new KUnit tests; it was accepted this once, with notice that the next one will be ignored. — process signal; retest if you track 7.4
  • slab_tiny becomes a boot parameter, headed for 7.5. CONFIG_SLUB_TINY is deprecated to a default setting, so one kernel image can serve both normal and tiny-memory configurations. — planning signal for small-RAM devices
  • In-tree AI agent skills are ready for the 7.5 merge window. A new agents/skills/ directory teaches coding assistants kernel processes, under a strict inspect-and-report rule. — watch the merge window
  • Three stable kernels in one day, each above 800 patches. 7.3.7, 6.18.66 and 6.12.120 continue the unusually large stable batches. — patch now
  • Tenstorrent Atlantis RISC-V platform applied for the next cycle. Device tree support for an eight-core RVA23 SoC entered the tenstorrent tree, headed for 7.5. — long-term watch

A 41,000-line ext4 pull tests the limits of the release candidate phase

On 24 November, ext4 maintainer Theodore Ts’o sent a pull request intended for 7.4-rc5: 41,197 insertions across 68 files. Most of the new lines are nineteen new KUnit test files, added, in Ts’o’s words, to make it safer to validate AI-generated patches. Alongside them sit a large batch of bug fixes, most of which were themselves AI-generated, and three performance improvements, including spreading the inodes of sibling directories across the block groups of a flex group to speed up parallel file creation.

Linus Torvalds merged the pull, then rejected the reasoning behind it. “I’ve taken this, despite serious reservations,” he wrote, telling Ts’o to keep test development on a separate branch and send work of this size during a merge window. He called the idea that anything labelled a fix belongs in an rc “bogus”, and stated the core objection in capitals: “STOP THINKING THAT YOU – OR AI – NEVER ADD BUGS WHEN YOU FIX SOMETHING.” A fix for a subtle problem that nothing noticed for years can, by the same logic, be subtly wrong itself. Next time, he wrote, a pull like this will simply be ignored.

The disagreement is not about whether the fixes are correct; it is about how much change a release candidate can absorb while still doing its job of settling the release. 7.4-rc5 itself, released on 29 November, shows the wider pattern. Torvalds described it as another huge rc, dominated by small error-path fixes of the kind LLM tooling finds easily. The same rc also removed the legacy vme_user staging driver outright and updated several process documents with automated readers in mind.

This is the next stage of the condition we covered when a memory-management reviewer stepped back earlier in November: the patch volume is no longer the open question, and the argument has moved to where in the release cycle that volume belongs.

What it means for teams tracking 7.4

Most of the 41,197 added lines are KUnit tests that are not built into production kernels; the runtime changes to fs/ext4 and fs/jbd2 are in the low thousands of lines, still a large batch this late in a cycle. If your product uses ext4 — particularly fast commit, online resize or the migration ioctl, all touched here — re-run filesystem stress tests against rc5 or later rather than carrying over results from rc4. 7.4 remains on course for late December if the cycle keeps its usual length.

slab_tiny: the tiny-memory slab configuration moves from Kconfig to the command line

The 29 September edition covered the first version of this series, when it was expected for 7.4. The rework is now complete: Vlastimil Babka’s v4 series was applied, and the branch carrying it — named slab/for-7.5/slab_tiny — was merged into the slab tree’s for-next branch on 24 November. It is lined up for the 7.5 merge window.

CONFIG_SLUB_TINY becomes a deprecated option whose only remaining effect is to set a default. A new early boot parameter, slab_tiny=, controls the behaviour and can override the config option in both directions: per-CPU object caching is disabled to minimise the slab allocator’s memory footprint, at the cost of SMP scalability. A related option, slab_debug=N, forces the debug slow paths for selected caches without performing any checks, which achieves most of the same saving per cache.

The first use case Babka names is the kdump kernel: it shares the production vmlinux, but its memory is pre-reserved from the production system, so booting it with slab_tiny=1 keeps that reservation small. For small-memory embedded devices — the help text still describes the option as meant for the SLOB-class systems with 16 MB of RAM or less — the decision moves out of the defconfig and into the boot arguments:

raghu@techveda:~$ cat /proc/cmdline
console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait slab_tiny=1
raghu@techveda:~$ dmesg | grep 'SLUB:'
SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=2, Nodes=1

There is one trade-off to understand before switching. In Babka’s own measurements, a 16-CPU test boot that used 27,700 kB of slab with the old CONFIG_SLUB_TINY uses 29,804 kB after the series, because the option no longer forcibly disables sysfs slab support, SLUB_DEBUG and batched kvfree_rcu(). Disabling those explicitly brings the figure back down to 27,624 kB. The one caveat: turning off KVFREE_RCU_BATCHED now requires tiny RCU, which means a CONFIG_SMP=n kernel.

How to check your device

Search your defconfigs for CONFIG_SLUB_TINY; each hit is a device whose behaviour will depend on boot arguments once you move to 7.5. Confirm that the bootloader command line carries slab_tiny=1 where you want the tiny behaviour; the deprecated option still sets the default, but a stray slab_tiny=0 overrides it. Re-audit options the old config used to block — KASAN, SLAB_FREELIST_HARDENED, SLAB_FREELIST_RANDOM and SLUB_DEBUG are no longer excluded and will cost memory if enabled. Compare the Slab line of /proc/meminfo before and after the migration on a real boot.

AI agent skills are ready to be sent to mainline

On 26 November, Sasha Levin — who co-maintains the stable and LTS trees — asked for his agents tree to be added to linux-next, stating that it contains the agent skills series he intends to send to Linus. The natural slot is the 7.5 merge window opening in late December.

The branch adds a new agents/ directory at the top of the source tree, with skills under agents/skills/, one directory per skill with a SKILL.md entry point in the published Agent Skills format. Five initial skills are included: determining Fixes: tags, determining stable tags, finding other instances of a fixed bug, writing commit messages, and writing KUnit tests — that last one contributed by Theodore Ts’o, whose KUnit expansion dominates the first item of this edition. The accompanying process documentation sets a firm boundary: skills inspect and report; they do not change files, create commits or tags, or send mail; a missing result is reported as missing, never filled with a guess.

This is the constructive half of the week’s AI story: instead of arguing with each oversized submission after the fact, it encodes process rules where the tools actually read them. Whether Torvalds accepts it when the pull request arrives is an open question, which makes the 7.5 merge window worth watching for this reason alone.

How to use it

For teams already running coding assistants against kernel or BSP trees, the design is worth copying now, independent of whether it lands in 7.5. Keep one directory per skill with a SKILL.md entry point, point each skill at your existing process documents instead of duplicating them, and restrict skills to analysis and reporting — no file changes, no commits, no outbound mail. If the series is merged, align your internal layout with the in-tree structure so the two do not drift apart.

Three stable kernels in one day, each above 800 patches

On 30 November, Greg Kroah-Hartman released 7.3.7, 6.18.66 and 6.12.120, each carrying more than 800 patches across the tree. This came one week after the seven stable releases of 23 November, which together carried over sixteen thousand commits. The older longterm branches — 6.6.163, 6.1.193, 5.15.226 and 5.10.275 — remain at their 23 November releases as of this writing.

The 7.2 series stays closed: it is end of life at 7.2.15, so products still on 7.2 receive no further upstream fixes and should plan a move to 7.3 or to a longterm branch.

These batch sizes are the stable-tree consequence of the AI patch volume described in the first item. Reviewing an 800-patch point release commit by commit is no longer a realistic exercise for a device team, and selectively cherry-picking from it leaves you with a kernel no one else runs. The workable model is to take whole point releases on a fixed cadence, qualify them with your own regression suite, and let CVE severity decide when to ship outside that cadence — the weekly data in our kernel CVE tracker exists for exactly that decision.

What it means for device kernels

Pin the exact point release you ship, and record it per product. If you are on 6.12 or 6.18 through a vendor kernel, compare the vendor branch’s last merge against these releases before assuming the fixes are present. Schedule the update window now rather than after the next severe CVE: at current batch sizes, an emergency jump across several point releases carries more regression risk than a routine one.

Tenstorrent Atlantis: an RVA23 RISC-V platform enters the device tree

Joel Stanley posted the fourth revision of the Atlantis platform series on 27 November, and Drew Fustini applied all six patches to the tenstorrent-dt-for-next branch on 30 November for the next merge window. The 514-line series adds APLIC and IMSIC interrupt controller compatibles, a binding for the Tenstorrent Ascalon CPU, a description of the Smrnmi extension, the platform binding, and a deliberately bare device tree for the Atlantis SoC — eight RVA23-compliant Ascalon-XG cores, interrupt controllers and a UART — plus an evaluation board file.

This is early-stage enablement, and the series says so. The UART depends on a working PRCM clock driver, which this series does not include, and the timer binding was split out into a separate series still under discussion. The device trees have been boot tested on QEMU and on internal development platforms, and QEMU modelling of the SoC, including its separate real-time CPU, is progressing in parallel.

The significance is the profile. RVA23 is the baseline the RISC-V ecosystem has settled on for application processors, and Atlantis arrives upstream claiming it from the first patch. The trajectory here — bindings first, a minimal device tree, then clocks and peripherals cycle by cycle — is the same one Allwinner’s A733 is following, and it normally means a year or more before a board runs a useful mainline system. Tenstorrent engineers are also driving the CBQRI cache-QoS work covered in July, so this is a sustained upstream programme rather than a one-off code drop.

What it means for RISC-V platform planning

Treat Atlantis as a roadmap signal, not a platform to build on today. If you are evaluating RISC-V for products in the 2027–28 window, put RVA23 compliance on the requirements list, because it is becoming the dividing line between application-class parts and the rest. Track the PRCM driver and peripheral support through the tenstorrent tree over the coming cycles; the pace of those follow-ups is the real indicator of platform usability.

References

— Raghu Bharadwaj

Was this worth your time?
RB
Raghu Bharadwaj

Founder, TECH VEDA — 20+ years teaching the Linux kernel, device drivers and embedded systems.

Follow on LinkedIn

Get the best of TECH VEDA by email

The best of our kernel and embedded Linux writing, a few emails a month. No spam.

We email occasionally and never share your address.