Messages in this thread | | | Date | Tue, 15 Mar 2005 11:12:55 -0800 | From | Andrew Morton <> | Subject | Re: [patch] Real-Time Preemption, -RT-2.6.11-rc3-V0.7.38-01 |
| |
Steven Rostedt <rostedt@goodmis.org> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |