On Wed, Jan 17, 2007 at 06:47:16PM +0300, Oleg Nesterov wrote: > > What do you mean by "currently" executing work? worker thread executing > > some work on the cpu? That is not possible, because all threads are > > frozen at this point. There cant be any ongoing flush_workxxx() as well > > because of this, which should avoid breaking flush_workxxx() .. > > work->func() sleeps/freezed. Didnt Andrew call that (work->func calling try_to_freeze) madness? http://lkml.org/lkml/2007/01/07/166 Does that happen in practice? -- 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] 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: 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] 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] 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] 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] flush_cpu_workqueue: don't flush an empty ->worklist
- Prev by Date: Hung Port
- Next by Date: Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers
- 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):