Linux's sched_ext Sees A Bunch Of Bug Fixes Following Increased AI Code Review
Just days after the Linux 7.1-rc1 kernel release, the Linux kernel's extensible scheduler class "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, recently working on AI code review prompts and the like for the Linux kernel.
With the recent patch series, sched_ext maintainer Tejun Heo acknowledged the AI code review driving up the fixes recently:
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 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."
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, recently working on AI code review prompts and the like for the Linux kernel.
With the 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 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."
