On Sun, Nov 18, 2007 at 01:33:50PM +0100, Peter Zijlstra wrote: > > On Sat, 2007-11-17 at 10:12 -0800, Daniel Walker wrote: > > > What specifically is wrong with dev->sem ? > > Nothing really, other than that they use semaphores to avoid lockdep :-/ > > I think I know how to annotate this, after Alan Stern explained all the > use cases, but I haven't come around to implementing it. Hope to do that > soonish. > > Another real semaphore user is XFS, they really use the down/up > asymmetry that semaphores allow, last time I spoke with Dave Chinner he > didn't know a way around this. Hasn't changed recently. We could convert some to completions, but others are much more difficult. Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html