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

From: Andrew Morton
Date: Tue Mar 15 2005 - 14:21:31 EST


Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> The problem here is that it's not ext3 bh's only. They're still the normal
> buffer head. The problem arrises because the ext3 "journal head" is
> allocated within these bit spin locks.

Yes, the locks do want to live inside the buffer_head.

Stephen has pointed out that we might want to remove
jbd_lock_bh_journal_head() altogether some time, just use
jbd_lock_bh_state() for that.

In 2.4 these locks are global (or per-superblock). Making them a global
spinlock would be acceptable for 2-ways and probably larger.

-
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/