lkml.org 
[lkml]   [2005]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:11    [from the cache]
©2003-2011 Jasper Spaans