Re: [linux-next:master] [lockref] d042dae6ad: unixbench.throughput -33.7% regression

From: Linus Torvalds
Date: Thu Jun 27 2024 - 13:26:15 EST


On Thu, 27 Jun 2024 at 09:57, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> .dput.terminate_walk.path_openat.do_filp_open

Hmm. This may be due to the benchmark being in /proc/net, and
retain_dentry() returning false.

Then the fastpath in fast_dput() won't trigger, and we'll always end
up doing the dentry lock if we're the last user (which presumably we
will be, there's probably not anybody else there?)

Linus