Re: [V3 PATCH] kthread_work: Make lockdep happy

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Wednesday, December 22, 2010 - 2:33 am

On Wed, Dec 22, 2010 at 11:23:05AM +0800, Yong Zhang wrote:

Applied with the following comment update (because the term "special
work" was a bit too confusing given the context) to wq#for-linus.
Will push out to Linus in several days.

+/*
+ * kthread_worker.lock and kthread_work.done need their own lockdep class
+ * keys if they are defined on stack with lockdep enabled.  Use the
+ * following macros when defining them on stack.
+ */

Thank you.

-- 
tejun
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[V2 PATCH] kthread_work: Make lockdep happy, Yong Zhang, (Mon Dec 20, 9:40 pm)
Re: [V2 PATCH] kthread_work: Make lockdep happy, Tejun Heo, (Tue Dec 21, 5:59 am)
Re: [V2 PATCH] kthread_work: Make lockdep happy, Nicolas Mailhot, (Tue Dec 21, 6:25 am)
Re: [V2 PATCH] kthread_work: Make lockdep happy, Andy Walls, (Tue Dec 21, 9:07 am)
Re: [V2 PATCH] kthread_work: Make lockdep happy, Andy Walls, (Tue Dec 21, 5:39 pm)
Re: [V2 PATCH] kthread_work: Make lockdep happy, Yong Zhang, (Tue Dec 21, 8:12 pm)
[V3 PATCH] kthread_work: Make lockdep happy, Yong Zhang, (Tue Dec 21, 8:23 pm)
Re: [V3 PATCH] kthread_work: Make lockdep happy, Tejun Heo, (Wed Dec 22, 2:33 am)