diff options
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2026-09-11 16:38:14 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-10-01 14:00:36 +0200 |
| commit | 4a3b51aab6e25244d97936aa65e6d5425adf98e1 (patch) | |
| tree | 645cdea0cd4ebd7b59e0568b60c9227214c3ed3f /tools/perf/scripts/python/flamegraph.py | |
| parent | 40dcc9bdbef3d93a516c8ee32cb1b50eddeeebcc (diff) | |
smpboot: Don't park the thread if work is pending
Once a smpboot thread gets work assigned it receives a wake up. If the
thread had no chance to run and receives a parking requesst during a
CPU-hotplug event then it is parked without running the callback first.
As a result the enqueued work remains stuck until the CPU gets back
online.
There is nothing wrong with invoking the thread function first and
parking in the following iteration. This would ensure that the callbacks
are processed before the shutdown.
Honor the park request once thread function does not need to run.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260911143815.997254-4-bigeasy@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
