login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
21
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lockdep-friendly
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <a.p.zijlstra@...>
To: Joel Becker <Joel.Becker@...>
Cc: Arjan van de Ven <arjan@...>, Louis Rilling <Louis.Rilling@...>, <linux-kernel@...>, <ocfs2-devel@...>
Subject:
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lockdep-friendly
Date: Wednesday, May 21, 2008 - 5:20 am
On Tue, 2008-05-20 at 16:51 -0700, Joel Becker wrote:
quoted text
> On Tue, May 20, 2008 at 03:35:43PM -0700, Arjan van de Ven wrote: > > not quite what I meant; what I meant is more like how sched.c deals > > with per cpu queues: > > > > (from sched.c) > > > > spin_lock_init(&rq->lock); > > lockdep_set_class(&rq->lock, &rq->rq_lock_key); > > Looking at this, it's taking the address of the struct > lock_class_key as the actual key. Thus, if we tie one of these guys to > the structure we're representing, we get lock safety...except that we're > talking about i_mutex here, and we want to interact with the VFS's use > thereof.
Also bear in mind that the lock_class_key structure must be in static storage. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH 0/3] configfs: Make nested default groups lockde...
, Louis Rilling
, (Tue May 20, 12:33 pm)
Re: [Ocfs2-devel] [RFC][PATCH 0/3] configfs: Make nested def...
, Joel Becker
, (Tue May 20, 5:41 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Arjan van de Ven
, (Tue May 20, 12:58 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Joel Becker
, (Tue May 20, 5:56 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Louis Rilling
, (Wed May 21, 4:13 am)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Arjan van de Ven
, (Tue May 20, 6:13 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Peter Zijlstra
, (Wed May 21, 5:23 am)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Louis Rilling
, (Wed May 21, 6:25 am)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Peter Zijlstra
, (Wed May 21, 6:59 am)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Joel Becker
, (Wed May 21, 6:09 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Louis Rilling
, (Wed May 21, 8:54 am)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Joel Becker
, (Tue May 20, 6:27 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Arjan van de Ven
, (Tue May 20, 6:35 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Joel Becker
, (Tue May 20, 7:51 pm)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Peter Zijlstra
, (Wed May 21, 5:20 am)
Re: [RFC][PATCH 0/3] configfs: Make nested default groups lo...
, Louis Rilling
, (Tue May 20, 1:08 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Laurent Riffard
Re: 2.6.25-rc2-mm1: WARNING at arch/x86/mm/ioremap.c:129
Alan Cox
Re: x86: 4kstacks default
linux-netdev
:
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 34/37] dccp: Auto-load (when supported) CCID plugins for negotiation
Maciej W. Rozycki
Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
John P Poet
Realtek 8111C transmit timed out
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
948 guests
online.
Online users
zeekec
docemenzuli
workfromhomebiz
Syndicate