Re: [Patch] workqueue: move lockdep annotations up to destroy_workqueue()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cong Wang
Date: Wednesday, March 31, 2010 - 9:09 pm

Tejun Heo wrote:


destroy_workqueue() does hold wq lock and then releases it.


wq lock is held *after* cpu_add_remove_lock, lockdep also said this,
the process is trying to hold wq lock while having cpu_add_remove_lock.



Sure, that is why I sent another patch for bonding. :)

After this patch, another lockdep warning appears, it is exactly what you expect.

Thanks.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Patch] workqueue: move lockdep annotations up to dest ..., Cong Wang, (Wed Mar 31, 9:09 pm)