On Fri, Jul 29, 2011 at 09:59:18AM +0400, Cyrill Gorcunov wrote: > On Fri, Jul 29, 2011 at 01:25:03PM +1000, Dave Chinner wrote: > ... > > > > The VFS shrinker code is now already called on a per-sb basis. Each > > sb has it's own shrinker context that deals with dentries, inodes > > and anything a filesystem wants to have shrunk in the call. That > > solves the original issue I had with your "limit the dentry cache > > size" patch series in that it didn't shrink or limit the other VFS > > caches that were the ones that were really consuming all your > > memory... > > Thanks for comments, Dave! Still the read only lock without > increasing sequence number might be useful, no? (patch 1) I'll defer to Al on that one - the intricacies of the rename locking are way over my head. FWIW, the problems with the per-sb dcache LRU lock seem to be gone - it's not causing my test machines to fall over with the current Linus tree like it was during 2.6.39-rc and 3.0-rc kernels... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- 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