]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dcache: let the dentry count go down to zero without taking d_lock
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 Jan 2015 23:19:03 +0000 (15:19 -0800)
committerSasha Levin <alexander.levin@verizon.com>
Mon, 22 Aug 2016 16:23:17 +0000 (12:23 -0400)
commitead2cea23e7a9915c8023fd7cb9ba862da7ca86a
tree09d28d0197425d73b9a976aefcc78d3f27b26ee2
parentcf4f30b2501fc90f23a935422af07bdddc155678
dcache: let the dentry count go down to zero without taking d_lock

[ Upstream commit 360f54796ed65939093ae373b92ebd5ef3341776 ]

We can be more aggressive about this, if we are clever and careful. This is subtle.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
fs/dcache.c
include/linux/lockref.h
lib/lockref.c