VOOZH about

URL: https://www.phoronix.com/news/Linux-7.1-AI-Sched-Ext-Fixes

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


👁 Phoronix

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

Written by Michael Larabel in Linux Kernel on 29 April 2026 at 11:47 AM EDT. 19 Comments
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:
"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."

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.