![]() | ||||||||||
Messages in this thread |
On Mon, Jan 08, 2007 at 10:37:25AM -0800, Pallipadi, Venkatesh wrote: > One other approach I was thinking about, was to do all the hardwork in > workqueue CPU_DOWN_PREPARE callback rather than in CPU_DEAD. Between DOWN_PREPARE and DEAD, more work can get added to the cpu's workqueue. So DOWN_PREPARE is kind of early to take_over_work .. > We can call cleanup_workqueue_thread and take_over_work in DOWN_PREPARE, > With that, I don't think we need to hold the workqueue_mutex across > these two callbacks and eliminate the deadlocks related to > flush_workqueue. > Do you think this approach would simply things around here? -- Regards, vatsa - 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/ | |||||||||
| Last update: 2007-01-09 00:49 [W:0.412 / U:0.550 seconds] ©2003-2008 Jasper Spaans | ||||||||||