Re: [resend PATCH for 3.2] procfs: do not confuse jiffies withcputime64_t

From: Andrew Morton
Date: Wed Dec 21 2011 - 19:20:03 EST


On Thu, 22 Dec 2011 01:14:39 +0100
Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:

> > a) what effect does this problem have upon users of the kernel?
>
> get_idle_time returns the value in the wrong unit.

So the "idle" fields in /proc/stat are wrong.

We're getting there! Now, in what way are they wrong? How could a
kernel maintainer recognise that this patch is needed?

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