On Tue, Apr 29, 2014 at 08:03:24PM +0200, Miklos Szeredi wrote: > Introducing a new per-sb lock should be OK. > > Another idea, which could have subtler effects, is simply not to kill > a dentry that is on the shrink list (indicated by > DCACHE_SHRINK_LIST), since it's bound to get killed anyway. But > that's a change in behaviour... Umm... You mean, if final dput() finds dentry already on shrink list, just leave it there and return? Might get really painful - the code that knows it's holding the last reference to already unhashed dentry might get a nasty surprise when dput() returns before it's killed off. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html