Commit 523a301
committed
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>1 parent 7dbf15c commit 523a301
4 files changed
Lines changed: 52 additions & 13 deletions
File tree
- Documentation
- admin-guide
- core-api
- include/linux
- kernel
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7014 | 7014 | | |
7015 | 7015 | | |
7016 | 7016 | | |
7017 | | - | |
7018 | | - | |
7019 | | - | |
7020 | | - | |
| 7017 | + | |
| 7018 | + | |
| 7019 | + | |
| 7020 | + | |
7021 | 7021 | | |
7022 | 7022 | | |
7023 | 7023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
362 | 366 | | |
363 | 367 | | |
364 | 368 | | |
| |||
392 | 396 | | |
393 | 397 | | |
394 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
395 | 402 | | |
396 | 403 | | |
397 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
137 | | - | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
3734 | 3735 | | |
3735 | 3736 | | |
3736 | 3737 | | |
3737 | | - | |
| 3738 | + | |
3738 | 3739 | | |
3739 | 3740 | | |
3740 | 3741 | | |
| |||
3815 | 3816 | | |
3816 | 3817 | | |
3817 | 3818 | | |
3818 | | - | |
| 3819 | + | |
| 3820 | + | |
| 3821 | + | |
| 3822 | + | |
| 3823 | + | |
| 3824 | + | |
| 3825 | + | |
| 3826 | + | |
| 3827 | + | |
| 3828 | + | |
| 3829 | + | |
| 3830 | + | |
3819 | 3831 | | |
3820 | 3832 | | |
3821 | 3833 | | |
| |||
5847 | 5859 | | |
5848 | 5860 | | |
5849 | 5861 | | |
5850 | | - | |
| 5862 | + | |
| 5863 | + | |
5851 | 5864 | | |
5852 | 5865 | | |
5853 | 5866 | | |
5854 | 5867 | | |
| 5868 | + | |
| 5869 | + | |
| 5870 | + | |
| 5871 | + | |
| 5872 | + | |
5855 | 5873 | | |
5856 | 5874 | | |
| 5875 | + | |
| 5876 | + | |
| 5877 | + | |
| 5878 | + | |
| 5879 | + | |
| 5880 | + | |
| 5881 | + | |
| 5882 | + | |
| 5883 | + | |
| 5884 | + | |
5857 | 5885 | | |
5858 | 5886 | | |
5859 | 5887 | | |
| |||
6033 | 6061 | | |
6034 | 6062 | | |
6035 | 6063 | | |
6036 | | - | |
6037 | | - | |
| 6064 | + | |
| 6065 | + | |
| 6066 | + | |
| 6067 | + | |
| 6068 | + | |
| 6069 | + | |
| 6070 | + | |
6038 | 6071 | | |
6039 | 6072 | | |
6040 | 6073 | | |
| |||
0 commit comments