summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index fe53976e088e..0c1cad38f9db 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -169,6 +169,17 @@ struct workqueue_attrs {
*/
cpumask_var_t __pod_cpumask;
+ /**
+ * @affn_strict: affinity scope is strict
+ *
+ * If clear, workqueue will make a best-effort attempt at starting the
+ * worker inside @__pod_cpumask but the scheduler is free to migrate it
+ * outside.
+ *
+ * If set, workers are only allowed to run inside @__pod_cpumask.
+ */
+ bool affn_strict;
+
/*
* Below fields aren't properties of a worker_pool. They only modify how
* :c:func:`apply_workqueue_attrs` select pools and thus don't