[PATCH 0/1 V2] workqueue: a tiny fix for the mayday timer

From: Lai Jiangshan
Date: Mon Jul 14 2014 - 04:12:26 EST

Hi, TJ

The del_timer_sync()s for the mayday timer in maybe_create_worker()
do not meet the requirement of the document of the del_timer_sync().

V1 patch incorrectly stops the timer when !need_to_create_worker(),
but no one can restart it when needed. In V2, we stops the
timer only when manager is not working.

Sorry for the incorrect V1 due to a general excuse: World-Cup-2014.

Another patch "[PATCH 1/1 V2] workqueue: unfold start_worker() into create_worker()"
depends on this patch. That patch still coincides with this patch even
this patch is updated.


Lai Jiangshan (1):
workqueue: remove the del_timer_sync()s in maybe_create_worker()

kernel/workqueue.c | 7 +++----
1 files changed, 3 insertions(+), 4 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/