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-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
- Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]