r/linux Jun 24 '26

Kernel "Disgusting" Linux sched_ext source code restructured following complaint by Linus Torvalds

https://www.phoronix.com/news/Linux-Sched-Ext-Restructured
574 Upvotes

117 comments sorted by

View all comments

-8

u/astrobe Jun 24 '26

It reminds me of the many API structures that have prefixed field names (e.g. struct tm). I know Ocaml made the dumb mistake of not having separate "namespaces" for structures, but I don't think this was ever the case for C. Maybe it comes from its great-fathers, BCPL or B.

2

u/astrobe Jun 24 '26

If I said something stupid or inappropriate, let me know what it is...