On 9/14/06, Arjan van de Ven <[email protected]> wrote:
> > I think it is - as far as I understand the reason for not tracking > every lock individually is just that it is too expensive to do by > default. that is not correct. While it certainly plays a role, the other reason is that you can find out "class" level locking rules (such as inode->i_mutex comes before <other lock>) for all inodes at a time; eg no need to see every inode do this before you can find the deadlock.
OK, I can see that. However you must agree that for certain locks we do want to track them individually, right? -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: Arjan van de Ven <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- References:
- [PATCH 0/3] Synaptics - fix lockdep warnings
- From: Jiri Kosina <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: Jiri Kosina <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: "Dmitry Torokhov" <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: Jiri Kosina <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: "Dmitry Torokhov" <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: Jiri Kosina <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: "Dmitry Torokhov" <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: Jiri Kosina <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: "Dmitry Torokhov" <[email protected]>
- Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- From: Arjan van de Ven <[email protected]>
- [PATCH 0/3] Synaptics - fix lockdep warnings
- Prev by Date: Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- Next by Date: Re: Same MCE on 4 working machines (was Re: Early boot hang on recent 2.6 kernels (> 2.6.3), on x86-64 with 16gb of RAM)
- Previous by thread: Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- Next by thread: Re: [PATCH 0/3] Synaptics - fix lockdep warnings
- Index(es):