diff options
author | Anna-Maria Behnsen <anna-maria@linutronix.de> | 2024-02-21 12:05:34 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-02-22 19:52:30 +0300 |
commit | c0e8c5b59949e8b8b004481c99e102df606fc312 (patch) | |
tree | 35b9f733acba3b761e47de44187e85068b319ee4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8e7e247f64a1e0fee430aba28d9108f7598eb237 (diff) | |
download | linux-c0e8c5b59949e8b8b004481c99e102df606fc312.tar.xz |
workqueue: Use global variant for add_timer()
The implementation of the NOHZ pull at expiry model will change the timer
bases per CPU. Timers, that have to expire on a specific CPU, require the
TIMER_PINNED flag. If the CPU doesn't matter, the TIMER_PINNED flag must be
dropped. This is required for call sites which use the timer alternately as
pinned and not pinned timer like workqueues do.
Therefore use add_timer_global() in __queue_delayed_work() for non-bound
delayed work to make sure the TIMER_PINNED flag is dropped.
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20240221090548.36600-7-anna-maria@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions