
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 ."