Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01

Stephen C. Tweedie
2005-08-30T11:01:17Z

Hi,

On Fri, 2005-08-26 at 05:24, Steven Rostedt wrote:

> Well, I just spent several hours trying to use the b_update_lock in
> implementing something to replace the bit spinlocks for RT. It's
> getting really ugly and I just hit a stone wall.
>
> The problem is that I have two locks to work with. A
> jbd_lock_bh_journal_head and a jbd_lock_bh_state. ...

For now, yes.

> So, the only other solutions that I can think of is:
>
> a) add yet another (bloat) lock to the buffer head.

This one looks like the right answer for now, just to get the patch
series running. I've got a WIP patch under development which removes
the bh_journal_head lock entirely; if that works out, you may find
things get a bit easier.

--Stephen