lkml.org 
[lkml]   [2014]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] workqueue: async worker destruction
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(-)
>



\
 
 \ /
  Last update: 2014-02-18 03:41    [W:0.095 / U:1.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site