Re: [PATCH 6/6] eventfs: clean up dentry ops and add revalidate function

From: Linus Torvalds
Date: Tue Jan 30 2024 - 16:36:41 EST


On Tue, 30 Jan 2024 at 13:25, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> I actually find the dentry's sticking around when their ref counts go to
> zero a feature. Tracing applications will open and close the eventfs files
> many times. If the dentry were to be deleted on every close, it would need
> to be create over again in short spurts.

Sure. I think this is literally a tuning thing, and we'll see if
anybody ever says "the dentry cache grows too much with tracefs".

Linus