Re: [RFC][PATCH 0/3] configfs: Make nested default groups lockdep-friendly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, May 21, 2008 - 3:59 am

On Wed, 2008-05-21 at 12:25 +0200, Louis Rilling wrote:


Why doesn't sysfs have this problem? - the code says configfs was
derived from sysfs.

Also, do you really need to hold all locks when removing something?
sound like a bit overdone. Also realise there is a maximum number of
held locks - various people have already requested it to be increased or
made dynamic. We're reluctant in doing so because we feel lock chains
should not be of unlimited length. The deeper the chains the bigger the
PI overhead etc..

As to modifying lockdep - it currently doesn't know about trees and
teaching it about them isn't easy.

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

Messages in current thread:
Re: [RFC][PATCH 0/3] configfs: Make nested default groups ..., Arjan van de Ven, (Tue May 20, 9:58 am)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups ..., Arjan van de Ven, (Tue May 20, 3:13 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups ..., Arjan van de Ven, (Tue May 20, 3:35 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups ..., Peter Zijlstra, (Wed May 21, 3:59 am)