aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-03-12 11:30:04 -0700
committerTejun Heo <tj@kernel.org>2013-03-12 11:30:04 -0700
commitd2c1d40487bb1884be085c187233084f80df052d (patch)
tree11ea6d2f331ed75935d0e65643d657f74278d881 /kernel/timer.c
parentworkqueue: drop WQ_RESCUER and test workqueue->rescuer for NULL instead (diff)
downloadlinux-d2c1d40487bb1884be085c187233084f80df052d.tar.gz
linux-d2c1d40487bb1884be085c187233084f80df052d.zip
workqueue: restructure __alloc_workqueue_key()
* Move initialization and linking of pool_workqueues into init_and_link_pwq(). * Make the failure path use destroy_workqueue() once pool_workqueue initialization succeeds. These changes are to prepare for dynamic management of pool_workqueues and don't introduce any functional changes. While at it, convert list_del(&wq->list) to list_del_init() as a precaution as scheduled changes will make destruction more complex. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions