lkml.org 
[lkml]   [2008]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver
    > Cool, thanks!  I rewrote the patch to use current->pid, removing the
    > idle callback.

    As a additional measure you could make the timer deferred when in
    idle state. Then you would only actually do something when
    changing from idle to non idle or keeps being busy, but nothing
    when a CPU stays idle for a longer time.

    The frequency wouldn't necessarily be 1 second then though.

    -Andi


    \
     
     \ /
      Last update: 2008-10-25 08:51    [W:0.020 / U:1.348 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site