Skip to content

Commit 98369dc

Browse files
committed
Merge tag 'wq-for-6.9-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
Pull workqueue fixes from Tejun Heo: "Two doc update patches and the following three fixes: - On single node systems, the default pool is used but the node_nr_active for the default pool was set to min_active. This effectively limited the max concurrency of unbound pools on single node systems to 8 causing performance regressions on some workloads. Fixed by setting the default pool's node_nr_active to max_active. - wq_update_node_max_active() could trigger divide-by-zero if the intersection between the allowed CPUs for an unbound workqueue and online CPUs becomes empty. - When kick_pool() was trying to repatriate a worker to a CPU in its pod by setting task->wake_cpu, it didn't consider whether the CPU being selected is online or not which obviously can lead to subobtimal behaviors. On s390, this triggered a crash in arch code. The workqueue patch removes the gross misbehavior but doesn't fix the crash completely as there's a race window in which CPUs can go down after wake_cpu is set. Need to decide whether the fix should be on the core or arch side" * tag 'wq-for-6.9-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq: workqueue: Fix divide error in wq_update_node_max_active() workqueue: The default node_nr_active should have its max set to max_active workqueue: Fix selection of wake_cpu in kick_pool() docs/zh_CN: core-api: Update translation of workqueue.rst to 6.9-rc1 Documentation/core-api: Update events_freezable_power references.
2 parents d03d418 + 91f0987 commit 98369dc

File tree

3 files changed

+390
-33
lines changed

3 files changed

+390
-33
lines changed

Documentation/core-api/workqueue.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ configuration, worker pools and how workqueues map to the pools: ::
671671
events_unbound unbound 9 9 10 10 8
672672
events_freezable percpu 0 2 4 6
673673
events_power_efficient percpu 0 2 4 6
674-
events_freezable_power_ percpu 0 2 4 6
674+
events_freezable_pwr_ef percpu 0 2 4 6
675675
rcu_gp percpu 0 2 4 6
676676
rcu_par_gp percpu 0 2 4 6
677677
slub_flushwq percpu 0 2 4 6
@@ -694,7 +694,7 @@ Use tools/workqueue/wq_monitor.py to monitor workqueue operations: ::
694694
events_unbound 38306 0 0.1 - 7 - -
695695
events_freezable 0 0 0.0 0 0 - -
696696
events_power_efficient 29598 0 0.2 0 0 - -
697-
events_freezable_power_ 10 0 0.0 0 0 - -
697+
events_freezable_pwr_ef 10 0 0.0 0 0 - -
698698
sock_diag_events 0 0 0.0 0 0 - -
699699

700700
total infl CPUtime CPUhog CMW/RPR mayday rescued
@@ -704,7 +704,7 @@ Use tools/workqueue/wq_monitor.py to monitor workqueue operations: ::
704704
events_unbound 38322 0 0.1 - 7 - -
705705
events_freezable 0 0 0.0 0 0 - -
706706
events_power_efficient 29603 0 0.2 0 0 - -
707-
events_freezable_power_ 10 0 0.0 0 0 - -
707+
events_freezable_pwr_ef 10 0 0.0 0 0 - -
708708
sock_diag_events 0 0 0.0 0 0 - -
709709

710710
...

0 commit comments

Comments
 (0)