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

Frans Pop
2007-10-29T23:19:39Z

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>

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

Cheers,
Frans