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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christian Borntraeger <borntraeger@...>
Cc: Chuck Ebbert <cebbert@...>, Frans Pop <elendil@...>, Greg KH <greg@...>, <stable@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>
Date: Tuesday, October 16, 2007 - 8:59 am

Christian Borntraeger wrote:

Yes, I thought of that just after I sent out my email. In the case that
you mention, the utime and stime accounting is incorrect anyway :-)
I think we need to find a better solution. I was going to propose that
we round correctly in (the divisions in)

1. task_utime()
2. clock_t_to_cputime()

I suspect we'll need to round task_utime() to p->utime if the value of
task_utime() < p->utime and the same thing for task_stime(). I've tried
reproducing the problem on my UML setup without any success. Let me
try and grab an x86 box.


Yes, very interesting observation.

[snip]


-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23 regression: top displaying 9999% CPU usage, Frans Pop, (Fri Oct 12, 4:31 pm)
Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage, Christian Borntraeger, (Sun Oct 14, 4:36 pm)
Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage, Christian Borntraeger, (Tue Oct 16, 4:29 am)
Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage, Christian Borntraeger, (Tue Oct 16, 6:34 am)
Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage, Balbir Singh, (Tue Oct 16, 8:59 am)
Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage, Christian Borntraeger, (Tue Oct 30, 1:56 am)
Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage, Christian Borntraeger, (Mon Oct 29, 4:33 pm)