mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user