Re: [RFC][PATCH] /proc/stat idle field for idle cpus

From: Martin Schwidefsky
Date: Mon Apr 20 2009 - 03:16:29 EST


On Fri, 17 Apr 2009 16:02:11 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> 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.

--
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/