"Disgusting" Linux sched_ext Source Code Restructured Following Complaint By Linus Torvalds - Phoronix
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
"Disgusting" Linux sched_ext Source Code Restructured Following Complaint By Linus Torvalds
Written by Michael Larabel in Linux Kernel on 23 June 2026 at 08:23 PM EDT. 24 Comments
Last week the main set of sched_ext changes were merged for Linux 7.2 that included continued work on sub-scheduler support. While Linus Torvalds didn't object to any of the features being worked on for this extensible scheduler framework that relies on user-space BPF programs, he was frustrated by the layout of the new C source files and remarked, "please don't do this disgusting thing...proper hierarchical filesystems have been available since 1965."
Linus Torvalds did not like in last week's sched_ext pull request that several new ext_ pre-fixed C code and header files were made in kernel//sched as opposed to just making a new sub-directory of kernel/sched like kernel/sched/ext/ to avoid prefixing the many individual files.
Torvalds merged the code but commented:<br>"> create mode 100644 kernel/sched/ext_arena.c<br>> create mode 100644 kernel/sched/ext_arena.h<br>> create mode 100644 kernel/sched/ext_cid.c<br>> create mode 100644 kernel/sched/ext_cid.h<br>> create mode 100644 kernel/sched/ext_types.h
Please don't do this disgusting thing.
There's a reason we have subdirectories: it's to group files together and separate them out
Using name prefixing instead of directories is disgusting and wrong. If you have this many random sched-ext files, it damn well should be cleaned up and not be this kind of mess.
I've pulled this, but under protest. Proper hierarchical filesystems have been available since 1965."
In turn sent out earlier today was a new pull request to reorganize the source tree for sched_ext in making use of kernel/sched/ext/ instead of littering a bunch of ext_* files in the common scheduler directory.
Linus Torvalds already merged the code to restructure sched_ext files.
24 Comments
Tweet
Linux 7.2 Protects Against Crafted Perf Data From Going Rogue<br>Linux 7.2 Ready With IMA and EVM Post-Quantum ML-DSA Signature Support<br>Linux 7.2 Showing Some Unexpected & Nice Performance Gains On AMD EPYC Sorano<br>DeviceTree-ACPI Hybrid Mode Proposed For Improving Linux Support On Snapdragon Laptops<br>Linux 7.2 sched_ext Continues Working Toward Sub-Scheduler Support<br>Linux's KUnit Finally Supporting JUnit Output
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.
Linux Finally Eliminates The strncpy API After Six Years Of Work, 360+ Patches<br>systemd 261 Released With New systemd-sysinstall OS Installer, IMDSD & Storagectl<br>Open-Source NVIDIA NVK Vulkan Driver Now Supports DLSS<br>Linux 7.2 Optimization Shows +5% IOPS For EXT4 & XFS After Moving Around Two Lines Of Code<br>Google's Gemini Partially Figures Out A Lengthy Linux Boot Time On Modern ASUS Laptop<br>Epic Games Announces Lore Open-Source Version Control System<br>Claude AI Assists In Fixing Years Old AMD Radeon Linux Display Bug Affecting Numerous Laptops<br>Steam Machine Launches, Priced $1049 To $1428 USD
F2FS Integrates FSERROR Reporting, Reduces Memory Footprint In Linux 7.2
New AMD Linux Patches Expose Gamma 2.4 + Gamma 2.6 Curves
"So Many AI-Fueled Fixes" Means No New ARM64 KVM Features For Linux 7.2
One Line x86 Change To GCC Compiler Nets +12% Benchmark Win For Modern Intel/AMD CPUs
Linux 7.2 Protects Against Crafted Perf Data From Going Rogue
QSOE v0.1 Released As A QNX-Inspired RISC-V OS
"Disgusting" Linux sched_ext Source Code Restructured Following Complaint By Linus Torvalds
COSMIC Epoch 1.1 Released With COSMIC-Monitor, Compositor Improvements
BASIC09 Programming Language Front-End Developed For LLVM
Linux 7.2 Showing Some Unexpected & Nice Performance Gains On AMD EPYC Sorano
DeviceTree-ACPI Hybrid Mode Proposed For Improving Linux Support On Snapdragon Laptops
Open-Source Driver For ATI R300 Era GPUs Seeing Improved Power Mac Support In 2026
Fwupd 2.0.21 Brings Fixes For More Than 250 Potential Security Issues Found Via AI
Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations.
SilverStone RM32 3U Server Chassis + 1000W...