Thread (7 messages) 7 messages, 4 authors, 2006-08-02

Re: neigh_lookup lockdep bug.

From: Arjan van de Ven <hidden>
Date: 2006-08-02 02:27:12

On Tue, 2006-08-01 at 23:19 +1000, Herbert Xu wrote:
Arjan van de Ven [off-list ref] wrote:
quoted
we fixed lockdep to have this lock key to be per skb queue ... didn't
you put that patch in rawhide Dave (J) ?
I've only briefly looked at the lockdep_set_class code so I might be
way off here.

It seems that for lockdep_set_class to work its second argument should
be distinct for each class of locks that you wish to distinguish.  So
shouldn't we be putting the key into struct sk_buff_head rather than
having one key (skb_queue_lock_key) for all sk_buff_head's?
fwiw the patch is at
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc2/2.6.18-rc2-mm1/broken-out/lockdep-split-the-skb_queue_head_init-lock-class.patch
and a followup cleanup at
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc2/2.6.18-rc2-mm1/broken-out/lockdep-split-the-skb_queue_head_init-lock-class-tidy.patch

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help