diff options
| author | Mateusz Guzik <mjguzik@gmail.com> | 2025-11-27 14:15:26 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-28 10:31:45 +0100 |
| commit | ca0d620b0afae20a7bcd5182606eba6860b2dbf2 (patch) | |
| tree | ef24db844ba45c81770b3d4a53d0a9177ad3fda4 /net/tls/tls_main.c | |
| parent | 003a6607304dddb314acc475883064feeefbe2e7 (diff) | |
dcache: touch up predicts in __d_lookup_rcu()
Rationale is that if the parent dentry is the same and the length is the
same, then you have to be unlucky for the name to not match.
At the same time the dentry was literally just found on the hash, so you
have to be even more unlucky to determine it is unhashed.
While here add commentary while d_unhashed() is necessary. It was
already removed once and brought back in:
2e321806b681b192 ("Revert "vfs: remove unnecessary d_unhashed() check from __d_lookup_rcu"")
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20251127131526.4137768-1-mjguzik@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions