On Tue, Jan 09, 2007 at 07:38:15PM +0300, Oleg Nesterov wrote: > We can't do this. We should thaw cwq->thread (which was bound to the > dead CPU) to complete CPU_DEAD event. So we still need some changes. I noticed that, but I presumed kthread_stop() will post a wakeup which will bring it out of frozen state. Looking at refrigerator(), I realize that is not possible. So CPU_DEAD should do a thaw_process on the kthread before doing a kthread_stop? -- Regards, vatsa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- References:
- Re: [PATCH] fix-flush_workqueue-vs-cpu_dead-race-update
- From: Andrew Morton <[email protected]>
- Re: [PATCH] fix-flush_workqueue-vs-cpu_dead-race-update
- From: Srivatsa Vaddagiri <[email protected]>
- Re: [PATCH] fix-flush_workqueue-vs-cpu_dead-race-update
- From: Andrew Morton <[email protected]>
- [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- From: Andrew Morton <[email protected]>
- Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- From: Srivatsa Vaddagiri <[email protected]>
- Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- From: Andrew Morton <[email protected]>
- Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- From: Srivatsa Vaddagiri <[email protected]>
- Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH] fix-flush_workqueue-vs-cpu_dead-race-update
- Prev by Date: Re: [PATCH 1/10] cxgb3 - main header files
- Next by Date: Re: [PATCH 01/24] Unionfs: Documentation
- Previous by thread: Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- Next by thread: Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist
- Index(es):