So I like the whole series, but..
On Tue, 16 Dec 2025 at 15:56, Al Viro <[email protected]> wrote:
>
> struct filename ->refcnt doesn't need to be atomic
Does ->refcnt need to exist _at_all_ if audit isn't enabled?
Are there any other users of it? Maybe I missed some?
Because I'm wondering if we could just encapsulate the thing entirely
in some #ifdef CONFIG_AUDIT check.
Now, I think absolutely everybody does enable audit, so it's not
because I'd try to save one word of memory and a few tests, it's more
of a "could we make it very explicit that all that code is purely
about the audit case"?
Linus