lkml.org 
[lkml]   [2023]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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>

    \
     
     \ /
      Last update: 2023-06-06 00:17    [W:4.143 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site