On Tue, Feb 13, 2024 at 09:17:18AM -0800, Linus Torvalds wrote: > On Tue, 13 Feb 2024 at 08:46, Christian Brauner <brauner@xxxxxxxxxx> wrote: > > > > * Each struct pid will refer to a different inode but the same struct > > pid will refer to the same inode if it's opened multiple times. In > > contrast to now where each struct pid refers to the same inode. > > The games for this are disgusting. This needs to be done some other way. Yeah, I'm not particularly happy about it and I did consider deviating from this completely and doing a lookup based on stashed inode number alone. But that would've been a bit more code. Let me see though. > To quote the Romans: uniti aedificamus > Because they *are* the same thing, although you wrote the pidfs copy I didn't see the point in sharing the code particularly for an rfc because I didn't expect you to be enthusiastic about the original code (Which is also why I Cced you here in the first place).