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

Balbir Singh
2007-10-29T23:24:48Z

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@planet.nl>
>

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