workqueue: Rename workqueue_attrs->no_numa to ->ordered

With the recent removal of NUMA related module param and sysfs knob,
workqueue_attrs->no_numa is now only used to implement ordered workqueues.
Let's rename the field so that it's less confusing especially with the
planned CPU affinity awareness improvements.

Just a rename. No functional changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
Tejun Heo
2023-08-07 15:57:23 -10:00
parent 636b927eba
commit af73f5c9fe
2 changed files with 12 additions and 13 deletions

View File

@@ -142,13 +142,13 @@ struct workqueue_attrs {
cpumask_var_t cpumask;
/**
* @no_numa: disable NUMA affinity
* @ordered: work items must be executed one by one in queueing order
*
* Unlike other fields, ``no_numa`` isn't a property of a worker_pool. It
* Unlike other fields, ``ordered`` isn't a property of a worker_pool. It
* only modifies how :c:func:`apply_workqueue_attrs` select pools and thus
* doesn't participate in pool hash calculations or equality comparisons.
*/
bool no_numa;
bool ordered;
};
static inline struct delayed_work *to_delayed_work(struct work_struct *work)