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)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Jan 2015 04:16:29 +0000 (23:16 -0500)
commit360f54796ed65939093ae373b92ebd5ef3341776
treeb89eeed53d0f4ff4ca9b753ca3f239e6fa0be005
parent32426f6653cbfde1ca16aff27a530ee36332f796
dcache: let the dentry count go down to zero without taking d_lock

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>
fs/dcache.c
include/linux/lockref.h
lib/lockref.c