diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-09 17:56:49 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-09 17:56:49 -0400 |
| commit | da85d191f58a44e149a7c07dbae78b3042909798 (patch) | |
| tree | 8c6cb59adcbaa9ab269d279fea0a3d5cb2499df2 /kernel/workqueue_internal.h | |
| parent | 68a29ef2e3f0edd154c3f5093e3c9ec772e4011f (diff) | |
| parent | 015af06e103fa47af29ada0f564301c81d4973b2 (diff) | |
Merge branch 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
Pull workqueue updates from Tejun Heo:
"Lai simplified worker destruction path and internal workqueue locking
and there are some other minor changes.
Except for the removal of some long-deprecated interfaces which
haven't had any in-kernel user for quite a while, there shouldn't be
any difference to workqueue users"
* 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
kernel/workqueue.c: pr_warning/pr_warn & printk/pr_info
workqueue: remove the confusing POOL_FREEZING
workqueue: rename first_worker() to first_idle_worker()
workqueue: remove unused work_clear_pending()
workqueue: remove unused WORK_CPU_END
workqueue: declare system_highpri_wq
workqueue: use generic attach/detach routine for rescuers
workqueue: separate pool-attaching code out from create_worker()
workqueue: rename manager_mutex to attach_mutex
workqueue: narrow the protection range of manager_mutex
workqueue: convert worker_idr to worker_ida
workqueue: separate iteration role from worker_idr
workqueue: destroy worker directly in the idle timeout handler
workqueue: async worker destruction
workqueue: destroy_worker() should destroy idle workers only
workqueue: use manager lock only to protect worker_idr
workqueue: Remove deprecated system_nrt[_freezable]_wq
workqueue: Remove deprecated flush[_delayed]_work_sync()
kernel/workqueue.c: pr_warning/pr_warn & printk/pr_info
workqueue: simplify wq_update_unbound_numa() by jumping to use_dfl_pwq if the target cpumask equals wq's
Diffstat (limited to 'kernel/workqueue_internal.h')
| -rw-r--r-- | kernel/workqueue_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/workqueue_internal.h b/kernel/workqueue_internal.h index 7e2204db0b1a..45215870ac6c 100644 --- a/kernel/workqueue_internal.h +++ b/kernel/workqueue_internal.h | |||
| @@ -37,6 +37,8 @@ struct worker { | |||
| 37 | struct task_struct *task; /* I: worker task */ | 37 | struct task_struct *task; /* I: worker task */ |
| 38 | struct worker_pool *pool; /* I: the associated pool */ | 38 | struct worker_pool *pool; /* I: the associated pool */ |
| 39 | /* L: for rescuers */ | 39 | /* L: for rescuers */ |
| 40 | struct list_head node; /* A: anchored at pool->workers */ | ||
| 41 | /* A: runs through worker->node */ | ||
| 40 | 42 | ||
| 41 | unsigned long last_active; /* L: last active timestamp */ | 43 | unsigned long last_active; /* L: last active timestamp */ |
| 42 | unsigned int flags; /* X: flags */ | 44 | unsigned int flags; /* X: flags */ |
