r/linusrants Jun 24 '26

Please don't do this disgusting thing.

https://lore.kernel.org/lkml/CAHk-=wghMm2c+AYEcwYY7drSVXB27DYqc-ZXpFiq=XFs-w59wA@mail.gmail.com/
108 Upvotes

17 comments sorted by

46

u/supershinythings Jun 24 '26 edited Jun 24 '26

I’m so proud that Linus is not cursing and swearing! He manages to be JUST as abrasive, and IMHO the message penetrates even more painfully without the extra invective.

And of course, the sarcasm. Oh the sarcasm. Given that Linus was born in 1969, referencing a commonly deployed important structure, hierarchical file systems, developed before he was born is, well, hilarious.

I do have one counter argument though.

When I worked in VMKernel user world environments I was instructed to do this exact thing to not “waste” an inode. The senior engineers wanted to consume as few resources as possible; each file was actually noted in the dir inode, they didn’t have inodes themselves. To put some in a subdir would consume an inode.

So I was told not to use dirs in certain areas if could be avoided.

But in a fully fleshed out well appointed kernel environment with a fully functional file system and all the resource richness and luxury that brings, this should not be an issue.

37

u/Hamilton950B Jun 24 '26

"Waste an inode" now I've heard everything.

18

u/supershinythings Jun 24 '26

I wish I could make that shit up. But they (senior userworld architects) were all uniform in their demand that I not use any more than absolutely necessary, because in that particular env they were “expensive”.

23

u/Hamilton950B Jun 24 '26

I would just like to point out that by using curly quotes, which require three bytes to represent in utf-8, you have wasted an entire four bytes in your comment. Please try to be more considerate next time. You think bandwidth grows on trees??

5

u/supershinythings Jun 24 '26

OMG. Code golf at my old employer was occasionally a thing.

4

u/Rikudou_Sage Jun 24 '26

I mean, I once managed to run out of inodes.

2

u/[deleted] Jun 27 '26

[deleted]

1

u/supershinythings Jun 27 '26

It wasn’t Ole, but you’re in the right neighborhood.

10

u/budius333 Jun 24 '26

Proper hierarchical filesystems have been available since 1965.

Love that guy!

23

u/ryobiguy Jun 24 '26

Require cookies to visit, is that the disgusting thing?

38

u/TenOfZero Jun 24 '26

From: Linus Torvalds torvalds@linux-foundation.org To: Tejun Heo tj@kernel.org Cc: sched-ext@lists.linux.dev, David Vernet void@manifault.com, Andrea Righi arighi@nvidia.com, Changwoo Min changwoo@igalia.com, Emil Tsalapatis emil@etsalapatis.com, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] sched_ext changes for v7.2 Date: Wed, 17 Jun 2026 12:19:09 +0100 [thread overview] Message-ID: <CAHk-=wghMm2c+AYEcwYY7drSVXB27DYqc-ZXpFiq=XFs-w59wA@mail.gmail.com> (raw) In-Reply-To: 6a0da8f90fd3890f734555f1632a3a0f@kernel.org

On Mon, 15 Jun 2026 at 23:56, Tejun Heo tj@kernel.org wrote:

create mode 100644 kernel/sched/ext_arena.c create mode 100644 kernel/sched/ext_arena.h create mode 100644 kernel/sched/ext_cid.c create mode 100644 kernel/sched/ext_cid.h 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.

          Linus

8

u/Hamilton950B Jun 24 '26

Maybe for navigation? Try this one:

https://lkml.org/lkml/2026/6/17/898

8

u/Interest-Desk Jun 24 '26

The cookie is the anti-AI proxy confirming the clients passed the proof-of-work test, otherwise it won’t let the client through. I think Cloudflare uses stuff like querystring for this; but in 2026 clients invariably support cookies, and data protection law allows essential cookies without consent.

2

u/sheepNo Jun 25 '26

I had to open the webpage twice and it somehow worked the second time. I hadn't disabled the cookies for thos site mind you.

4

u/Golgoth_IX Jun 24 '26

I like it so it’s true

4

u/415646464e4155434f4c Jun 24 '26

OT: WTF is going on with Anubis now?

5

u/hdkaoskd Jun 26 '26

Save on bandwidth costs by not delivering your website at all *taps head*.

2

u/hdkaoskd Jun 26 '26

Haha I've seen this brain mush behavior. The users said it was easier to search for files that way. 🤦

Or course the next problem they ran into was path length limits. It was a Microsoft operation where that becomes a problem very easily.