Hasty Briefsbeta

Bilingual

Linus calls sched_ext's file layout "disgusting"

5 hours ago
  • #Code Organization
  • #Linux Kernel
  • #Linus Torvalds
  • Linus Torvalds expressed strong disapproval of the initial code structure for sched_ext in Linux 7.2, where multiple ext_ prefixed files were added directly to kernel/sched.
  • He criticized the approach as 'disgusting' and argued for using subdirectories to organize files properly, referencing hierarchical filesystems dating back to 1965.
  • Despite his objections, Torvalds merged the initial code but under protest, prompting developers to restructure the files into a dedicated kernel/sched/ext/ directory.
  • A follow-up pull request was issued to reorganize the sched_ext source tree, moving the ext_ files into the new subdirectory, which Torvalds has already merged.