[PATCH 00/10] workqueue: restructure flush_workqueue() and start all flusher at the same time

From: Lai Jiangshan
Date: Mon Sep 24 2012 - 06:06:04 EST


The core patch is patch6, it makes all flusher can start and the same time
and allow us do more cleanup.

Only patch1 and patch6 change the behavior of the code.
All other patches do not change any behavior.

Lai Jiangshan (10):
workqueue: always pass flush responsibility to next
workqueue: remove unneeded check
workqueue: remove while(true)
workqueue: use nr_cwqs_to_flush array
workqueue: add wq_dec_flusher_ref()
workqueue: start all flusher at the same time
workqueue: simplify flush_workqueue_prep_cwqs()
workqueue: assign overflowed flushers's flush color when queued
workqueue: remove flusher_overflow
workqueue: remove wq->flush_color

kernel/workqueue.c | 243 +++++++++++++++++++--------------------------------
1 files changed, 91 insertions(+), 152 deletions(-)

--
1.7.4.4

--
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/