News: 0001630754

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux's sched_ext Sees A Bunch Of Bug Fixes Following Increased AI Code Review

([Linux Kernel] 13 Minutes Ago sched_ext Fixes)


Just days after the Linux 7.1-rc1 kernel release, the Linux kernel's extensible scheduler class " [1]sched_ext " is seeing a lot of bug fixes. Many of these bug fixes aren't just from the Linux 7.1 merge window but a number date back many kernel cycles. This uptick in bug fixes for sched_ext is coming due to increased AI code review.

Sched_ext is the nifty Linux kernel feature for allowing custom CPU schedulers implemented as BPF programs. Recently it's been seeing increased AI code review as a result of Btrfs creator Chris Mason, now at Meta, [2]recently working on AI code review prompts and the like for the Linux kernel.

With the [3]recent patch series , sched_ext maintainer Tejun Heo acknowledged the AI code review driving up the fixes recently:

"This patchset collects fixes for issues surfaced by Chris Mason's AI-assisted review of sched_ext. The bugs span use-after-free, leak, lock/state inconsistency, rq-lock AA deadlock, and cross-task kfunc misuse paths. Each patch stands on its own."

A number of these sched_ext patches are marked for back-porting to current Linux kernel stable releases with some of the patches even being marked for back-porting all the way back to Linux 6.12 LTS.

Today's [4]merge of these sched_ext fixes in the message to Linus Torvalds acknowledges that " new AI reviews are accelerating bug reporting and fixing - hence the larger than usual fixes batch ."



[1] https://www.phoronix.com/search/sched_ext

[2] https://www.phoronix.com/news/AI-Code-Review-Prompts-Linux

[3] https://lore.kernel.org/all/20260424204418.3809733-1-tj@kernel.org/

[4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=664f0f6be37ce4ef80992cf2ed74761cd5bbe207



Arbitrary systems, pl.n.:
Systems about which nothing general can be said, save "nothing
general can be said."