lkml.org 
[lkml]   [2007]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [stable] 2.6.23 regression: top displaying 9999% CPU usage
Date
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-10-30 00:21    [from the cache]
©2003-2011 Jasper Spaans