login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
16
Re: [PATCH for 2.6.24] fix workqueue creation API lockdep interaction
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Dave Young <hidave.darkstar@...>
To: Johannes Berg <johannes@...>
Cc: Peter Zijlstra <peterz@...>, Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>, Ingo Molnar <mingo@...>, Oleg Nesterov <oleg@...>
Subject:
Re: [PATCH for 2.6.24] fix workqueue creation API lockdep interaction
Date: Wednesday, January 16, 2008 - 12:41 am
On Jan 15, 2008 9:04 PM, Johannes Berg <johannes@sipsolutions.net> wrote:
quoted text
> Dave Young reported warnings from lockdep that the workqueue API > can sometimes try to register lockdep classes with the same key > but different names. This is not permitted in lockdep. > > Unfortunately, I was unaware of that restriction when I wrote > the code to debug workqueue problems with lockdep and used the > workqueue name as the lockdep class name. This can obviously > lead to the problem if the workqueue name is dynamic. > > This patch solves the problem by always using a constant name > for the workqueue's lockdep class, namely either the constant > name that was passed in or a string consisting of the variable > name. > > Signed-off-by: Johannes Berg <johannes@sipsolutions.net> > --- > Please be careful with this patch, I haven't been able to test it so far > because my powerbook doesn't have lockdep.
Hi, Just for confirm, the warnings didn't trigger after applied your patch, thanks. Regards dave --
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:
2.6.24-rc7 lockdep warning when poweroff
, Dave Young
, (Mon Jan 14, 5:04 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Peter Zijlstra
, (Mon Jan 14, 5:24 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Johannes Berg
, (Mon Jan 14, 6:35 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Peter Zijlstra
, (Mon Jan 14, 6:41 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Johannes Berg
, (Mon Jan 14, 6:51 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Johannes Berg
, (Tue Jan 15, 6:41 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Peter Zijlstra
, (Tue Jan 15, 8:21 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Johannes Berg
, (Tue Jan 15, 7:54 pm)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Johannes Berg
, (Tue Jan 15, 8:39 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Peter Zijlstra
, (Tue Jan 15, 8:47 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Ingo Molnar
, (Wed Jan 16, 4:11 am)
[PATCH for 2.6.24] fix workqueue creation API lockdep intera...
, Johannes Berg
, (Tue Jan 15, 9:04 am)
Re: [PATCH for 2.6.24] fix workqueue creation API lockdep in...
, Dave Young
, (Wed Jan 16, 12:41 am)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Dave Young
, (Mon Jan 14, 8:31 pm)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Dave Young
, (Mon Jan 14, 9:24 pm)
Re: 2.6.24-rc7 lockdep warning when poweroff
, Peter Zijlstra
, (Tue Jan 15, 4:42 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Michal Piotrowski
Re: Linux 2.6.21-rc4
Joe Peterson
Re: 2.6.25.3: su gets stuck for root
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Emil S Tantilov
Re: WARNING: at include/net/sock.h:417 udp_lib_unhash
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
9 users
and
743 guests
online.
Online users
montessorischo
cordic
Jeremy
realestatebaja
lizbennet
ewenchiaautoxhy
yuliyachin
radiocontrolydc
dolceandgabban
Syndicate