Messages in this thread | | | Date | Tue, 18 Feb 2014 09:39:00 +0800 | From | Lai Jiangshan <> | Subject | Re: [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(-) >
| |