Messages in this thread | | | Date | Tue, 6 Jun 2023 00:16:20 +0200 | From | Frederic Weisbecker <> | Subject | Re: [PATCH v6 08/21] workqueue: Use global variant for add_timer() |
| |
Le Wed, May 10, 2023 at 09:28:04AM +0200, Anna-Maria Behnsen a écrit : > 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() to make sure TIMER_PINNED flag is dropped. > > Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de> > Cc: Tejun Heo <tj@kernel.org> > Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
| |