Re: [patch] Real-Time Preemption, -RT-2.6.11-rc3-V0.7.38-01

Andrew Morton
2005-03-16T09:15:36Z

Ingo Molnar <mingo@elte.hu> wrote:
>
>
> * Steven Rostedt <rostedt@goodmis.org> wrote:
>
> > Damn! The answer was right there in front of my eyes! Here's the
> > cleanest solution. I forgot about wait_on_bit_lock. I've converted
> > all the locks to use this instead. [...]
>
> ah, indeed, this looks really nifty. Andrew?
>

There's a little lock ranking diagram in jbd.h which tells us that these
locks nest inside j_list_lock and j_state_lock. So I guess you'll need to
turn those into semaphores.