lkml.org 
[lkml]   [2021]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH V2 3/3] cpufreq: CPPC: Add support for frequency invariance
    On Thu, Jun 17, 2021 at 04:49:36PM +0530, Viresh Kumar wrote:
    > Peter: Can you help here on this ? Lemme try to explain a bit here:
    >
    > We are starting an irq-work (in cppc cpufreq driver) from
    > scheduler_tick()->arch_scale_freq_tick(). What will happen if the driver doesn't
    > take care of CPU hotplug explicitly and make sure this work isn't queued again
    > from the next tick.
    >
    > Is it important for user to make sure it gets rid of the irq-work during hotplug
    > here ?

    irq-work is flushed on hotplug, see smpcfd_dying_cpu().

    \
     
     \ /
      Last update: 2021-06-17 14:24    [W:6.614 / U:0.188 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site