Re: [PATCH 02/20] dcache: back inline names with a struct-wrapped array of unsigned long

Al Viro
2025-01-10T16:24:59Z

On Fri, Jan 10, 2025 at 10:35:14AM +0100, Jan Kara wrote:

> I was thinking for a while whether if you now always copy 40 bytes instead
> of only d_name.len bytes cannot have any adverse performance effects
> (additional cacheline fetched / dirtied) but I don't think any path copying
> the name is that performance critical to matter if it would be noticeable
> at all.

FWIW, I'd expect it to be a slight win overall; we'll see if profiling shows
otherwise, but...