diff options
author | Tejun Heo <tj@kernel.org> | 2023-08-07 15:57:25 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-08-07 15:57:25 -1000 |
commit | 523a301e66afd1ea9856660bcf3cee3a7c84c6dd (patch) | |
tree | 56cfc70a2006d4441b420b0fa539a40694ff0c86 /Documentation/admin-guide | |
parent | 7dbf15c5c05e835d488e0fee49a35b0f23452e45 (diff) | |
download | linux-stable-523a301e66afd1ea9856660bcf3cee3a7c84c6dd.tar.gz linux-stable-523a301e66afd1ea9856660bcf3cee3a7c84c6dd.tar.bz2 linux-stable-523a301e66afd1ea9856660bcf3cee3a7c84c6dd.zip |
workqueue: Make default affinity_scope dynamically updatable
While workqueue.default_affinity_scope is writable, it only affects
workqueues which are created afterwards and isn't very useful. Instead,
let's introduce explicit "default" scope and update the effective scope
dynamically when workqueue.default_affinity_scope is changed.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/admin-guide')
-rw-r--r-- | Documentation/admin-guide/kernel-parameters.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 732c5c7e3fa5..98ffce100a39 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -7014,10 +7014,10 @@ information, see the Affinity Scopes section in Documentation/core-api/workqueue.rst. - This can be updated after boot through the matching - file under /sys/module/workqueue/parameters. - However, the changed default will only apply to - unbound workqueues created afterwards. + This can be changed after boot by writing to the + matching /sys/module/workqueue/parameters file. All + workqueues with the "default" affinity scope will be + updated accordignly. workqueue.debug_force_rr_cpu Workqueue used to implicitly guarantee that work |