Re: [patch 11/33] fs: dcache scale subdirs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Thursday, June 17, 2010 - 9:53 am

On Thu, Jun 17, 2010 at 05:13:35PM +0200, Peter Zijlstra wrote:

No it's a bit of a trucky loop, but it is not unbounded. It takes the
parent, then the child, then it may continue again with the child as
the new parent but in that case it drops the parent lock and tricks
lockdep into not barfing.

 

As far as I can tell, RCU should be able to cover it without taking more
than 2 locks at a time. John saw some issues in the -rt tree (I haven't
reproduced yet) so he's locking the full chains there but I hope that
won't be needed.


                            ^^^ That's what we do when descending.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 11/33] fs: dcache scale subdirs, Peter Zijlstra, (Thu Jun 17, 8:13 am)
Re: [patch 11/33] fs: dcache scale subdirs, Nick Piggin, (Thu Jun 17, 9:53 am)
Re: [patch 11/33] fs: dcache scale subdirs, Peter Zijlstra, (Mon Jun 21, 6:35 am)
Re: [patch 11/33] fs: dcache scale subdirs, Nick Piggin, (Mon Jun 21, 7:48 am)
Re: [patch 11/33] fs: dcache scale subdirs, Peter Zijlstra, (Mon Jun 21, 7:55 am)
Re: [patch 11/33] fs: dcache scale subdirs, john stultz, (Mon Jun 21, 11:02 pm)
Re: [patch 11/33] fs: dcache scale subdirs, Nick Piggin, (Mon Jun 21, 11:06 pm)
Re: [patch 11/33] fs: dcache scale subdirs, Peter Zijlstra, (Tue Jun 22, 12:27 am)
Re: [patch 11/33] fs: dcache scale subdirs, john stultz, (Tue Jun 22, 7:03 pm)
Re: [patch 11/33] fs: dcache scale subdirs, Peter Zijlstra, (Wed Jun 23, 12:23 am)