Re: [PATCH v3 2/2] vfs: avoid duplicating creds in faccessat if possible

From: Al Viro
Date: Thu Mar 02 2023 - 13:43:47 EST


On Thu, Mar 02, 2023 at 07:22:17PM +0100, Mateusz Guzik wrote:

> Ops, I meant "names_cache", here:
> names_cachep = kmem_cache_create_usercopy("names_cache", PATH_MAX, 0,
> SLAB_HWCACHE_ALIGN|SLAB_PANIC, 0, PATH_MAX, NULL);
>
> it is fs/dcache.c and I brainfarted into the above.

So you mean __getname() stuff?