summaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-08 10:39:03 +0100
committerTejun Heo <tj@kernel.org>2011-02-09 09:37:49 +0100
commit4149efb22da66e326fc48baf80d628834509f7f0 (patch)
treef55c97e3678eaff010a36b97bcde0e9d2294ccb4 /include/linux/workqueue.h
parentc534a107e8fe446202b0fab102abc015c56c0317 (diff)
downloadop-kernel-dev-4149efb22da66e326fc48baf80d628834509f7f0.zip
op-kernel-dev-4149efb22da66e326fc48baf80d628834509f7f0.tar.gz
workqueue: add system_freezeable_wq
Add system wide freezeable workqueue. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 1ac1158..de6a755 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -286,11 +286,15 @@ enum {
* any specific CPU, not concurrency managed, and all queued works are
* executed immediately as long as max_active limit is not reached and
* resources are available.
+ *
+ * system_freezeable_wq is equivalent to system_wq except that it's
+ * freezeable.
*/
extern struct workqueue_struct *system_wq;
extern struct workqueue_struct *system_long_wq;
extern struct workqueue_struct *system_nrt_wq;
extern struct workqueue_struct *system_unbound_wq;
+extern struct workqueue_struct *system_freezeable_wq;
extern struct workqueue_struct *
__alloc_workqueue_key(const char *name, unsigned int flags, int max_active,
OpenPOWER on IntegriCloud