[lkml]   [2011]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] ARM: twd: Adjust localtimer frequency withcpufreqnotifiers
    On Mon, 16 May 2011, Santosh Shilimkar wrote:
    > On 5/14/2011 9:21 PM, Thomas Gleixner wrote:
    > Just for my understanding, the clockevents_reconfigure() needs to
    > be called with interrupts disabled on that CPU as part of
    > the CPUFREQ notifiers. I assume the right place is do it
    > in POST notifier after the CPU clock and hence TWD clock is
    > updated. Is that right ?


    > Since there is need to call this API in interrupt
    > disable context, does it make sense to take care of it
    > inside the API itself instead of relying on caller fn ?

    Hmm, no strong opinion

    > The arch's where the per CPU TWD's share clock, per-cpu
    > clock-events should be reconfigured on all CPUs, whenever
    > the parent(CPU) clock has changed using some thing like
    > smp_call_function_any() etc. Is that right understanding?

    Yes. If that's a common requirement we should move that to core code.



     \ /
      Last update: 2011-05-16 16:47    [W:4.020 / U:0.772 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site