[PATCH] workqueue: remove the del_timer_sync()s in maybe_create_worker()

2014-07-13 Thread Lai Jiangshan
It is said in the document that the timer which is being deleted by del_timer_sync() should not be restarted: Synchronization rules: Callers must prevent restarting of the timer, otherwise this function is meaningless. Repeating timer may cause the del_timer_sync() spin longer, or even spin

[PATCH] workqueue: remove the del_timer_sync()s in maybe_create_worker()

2014-07-13 Thread Lai Jiangshan
It is said in the document that the timer which is being deleted by del_timer_sync() should not be restarted: Synchronization rules: Callers must prevent restarting of the timer, otherwise this function is meaningless. Repeating timer may cause the del_timer_sync() spin longer, or even spin