Re: [PATCH for testing] Re: Decreasing stime running confuses top

From: Luca
Date: Fri Oct 05 2007 - 07:43:19 EST


On 10/5/07, Chuck Ebbert <cebbert@xxxxxxxxxx> wrote:
> On 10/04/2007 05:10 PM, Christian Borntraeger wrote:
>
> > <patch reverting to 2.6.22 behavior>
>
> Alternative patch:
>
> procfs: Don't read runtime twice when computing task's stime
>
> Current code reads p->se.sum_exec_runtime twice and goes through
> multiple type conversions to calculate stime. Read it once and
> skip some of the conversions.

Works fine here.

>
> Signed-off-by: Chuck Ebbert <cebbert@xxxxxxxxxx>

Tested-By: Luca Tettamanti <kronos.it@xxxxxxxxx>

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