commit | 89e6054836a7b1e7500cd70a14b5579e752c9250 | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@kernel.dk> | Fri Jan 07 17:49:45 2011 +1100 |
committer | Nick Piggin <npiggin@kernel.dk> | Fri Jan 07 17:50:25 2011 +1100 |
tree | b74d2ecd1ac2a571d289e5525a0dc067ec1f35eb | |
parent | a734eb458ab2bd11479a27dd54f48e1b26a55845 [diff] |
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: Nick Piggin <npiggin@kernel.dk>