]> git.baikalelectronics.ru Git - kernel.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)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Jan 2015 04:16:29 +0000 (23:16 -0500)
commitfac8ce37cfe0eb974be13b9ae59899854eb36e3e
treeb89eeed53d0f4ff4ca9b753ca3f239e6fa0be005
parent3ca436f963dcb01930bdecd4a99d2ca2ce355a8d
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