Re: [PATCH 0/3] workqueue: async worker destruction

From: Lai Jiangshan
Date: Mon Feb 17 2014 - 21:00:26 EST


Sorry, the cover letter was forgotten to send to LKML.

On 02/18/2014 12:24 AM, Lai Jiangshan wrote:
> This patchset moves the worker-destruction(partial) to worker_thread(),
> and worker to be die will perform self-destruction.
>
> This async worker destruction helps us to reduce the mananger's invocation,
> and simply the idle-worker-timeout handler.
>
> This patchset requires earlier patch
> "workqueue: ensure @task is valid across kthread_stop()".
>
> Lai Jiangshan (3):
> workqueue: free worker earlier in worker_thread()
> workqueue: async worker destruction
> workqueue: kick worker to die directly in idle timeout handler
>
> kernel/workqueue.c | 135 +++++++++++++++++++---------------------------------
> 1 files changed, 49 insertions(+), 86 deletions(-)
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/