[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46E55A6C.6070106@bull.net>
Date: Mon, 10 Sep 2007 16:53:32 +0200
From: Laurent Vivier <Laurent.Vivier@...l.net>
To: Rik van Riel <riel@...hat.com>
Cc: Ingo Molnar <mingo@...e.hu>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [RESEND][PATCH 1/4] Introduce a new field "guest" in cpustat
Rik van Riel wrote:
> Laurent Vivier wrote:
>> [PATCH 1/4] as recent CPUs introduce a third running state, after
>> "user" and
>> "system", we need a new field, "guest", in cpustat to store the time
>> used by
>> the CPU to run virtual CPU. Modify /proc/stat to display this new field.
>
> I think it would be good to always print out that number, even if
> it is zero without the CONFIG option set.
>
> Changing the format of /proc/stat depending on config options is
> probably worse than changing it when moving kernel versions.
>
> I guess reusing the "steal" field is not a good idea, since your
> new "guest time" has different semantics than the steal time field.
>
I agree with all.
Laurent
--
------------- Laurent.Vivier@...l.net --------------
"Software is hard" - Donald Knuth
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists