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

From: Andrew Morton
Date: Wed Mar 16 2005 - 04:16:47 EST


Ingo Molnar <mingo@xxxxxxx> wrote:
>
>
> * Steven Rostedt <rostedt@xxxxxxxxxxx> 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/