lkml.org 
[lkml]   [2009]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] /proc/stat idle field for idle cpus
On Fri, 17 Apr 2009 16:02:11 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:

> Looks OK to me. Please merge it via the s390 tree.
>
> Do other architectures need to fix this?

Thanks Andrew for the quick review. Other architecture might want to
implement this as well, with tick-less the idle numbers in /proc/stat
are just way off. The implementation of the arch_idle_time is not easy
I'm afraid, the sleep time of each cpu needs to be measured in a way
that it can be read from neighbouring cpus (and it should better be a
precise). Not something I would want to have to implement for x86.

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.



\
 
 \ /
  Last update: 2009-04-20 09:19    [W:0.040 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site