Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage

From: Balbir Singh
Date: Mon Oct 29 2007 - 19:24:50 EST


Frans Pop wrote:
> On Monday 29 October 2007, Balbir Singh wrote:
>> We'll also need this additional patch (untested),
>
> OK. Both patches together do the trick. Gave it a nice long test run and got
> no more weirdness.
> Tested-by: Frans Pop <elendil@xxxxxxxxx>
>

Thanks for testing it

Ingo, I think this fix needs to be picked as well.

>> but in the long run I think the approach needs to be
>>
>> 1. Update stime and utime at the time of context switching -- keep it
>> in sync with p->sum_exec_runtime
>> 2. Keep track of system/user context at system call entry points
>
> Feel free to send me a patch for testing when you have one.
>

I hope to find some free time soon and get to it.

> Cheers,
> Frans


--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
-
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/