Skip to content
Snippets Groups Projects
Commit 89e60548 authored by Nick Piggin's avatar Nick Piggin
Browse files

fs: dcache reduce prune_one_dentry locking


prune_one_dentry can avoid quite a bit of locking in the common case where
ancestors have an elevated refcount. Alternatively, we could have gone the
other way and made fewer trylocks in the case where d_count goes to zero, but
is probably less common.

Signed-off-by: default avatarNick Piggin <npiggin@kernel.dk>
parent a734eb45
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment