Re: [V2 for-next PATCH 0/7] workqueue: async idle rebinding and cleanupfor hotplug

From: Lai Jiangshan
Date: Tue Sep 18 2012 - 05:38:31 EST


On 09/17/2012 11:46 PM, Lai Jiangshan wrote:
> Patch1 fix new found possible bug.
>
> Patch2 use async algorithm to replace the synchronous algorithm to rebind
> idle workers.
>
> The synchronous algorithm requires 3 hand shakes, it introduces much
> complicated.
>
> The new async algorithm does not do any synchronization. it removes
> the idle workers from idle_list to ensure the local-wake-up is correct
> instead.
>
> Patch3-7 do simple cleanup
>
> Patch2-7 are ready for for-next. I have other devlopment and cleanup for workqueue,
> should I wait this patchset merged or send them at the same time?

Hello, Tejun:

Please defer Patch3-7, because they conflict with the merged one.

Could you please review and merge the the Patch2(async idle rebinding).
I have made some effort to write/review/check it.

Thanks,
Lai

>
> Lai Jiangshan (7):
> workqueue: clear WORKER_REBIND unconditionaly in
> busy_worker_rebind_fn()
> workqueue: async idle rebinding
> workqueue: new day don't need WORKER_REBIND for busy rebinding
> workqueue: remove WORKER_REBIND
> workqueue: rename manager_mutex to assoc_mutex
> workqueue: use __cpuinit instead of __devinit for cpu callback
> workqueue: use hotcpu_notifier() for workqueue_cpu_down_callback()
>
> kernel/workqueue.c | 228 ++++++++++++++++++---------------------------------
> 1 files changed, 81 insertions(+), 147 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/