Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver

From: Mike Travis
Date: Mon Oct 27 2008 - 11:11:49 EST


Andi Kleen wrote:
>> 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

Hi Andi,

Sorry, I didn't see this message until now. I will look into doing this
and ask the hw group if it's acceptable to drop BMC records when the cpu
is idle. (I think they may still want them since this might also be
confused with "the cpu is no longer uninterruptible".)

Thanks,
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/