[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4726C863.2070105@linux.vnet.ibm.com>
Date: Tue, 30 Oct 2007 11:30:03 +0530
From: Balbir Singh <balbir@...ux.vnet.ibm.com>
To: Christian Borntraeger <borntraeger@...ibm.com>
CC: Ingo Molnar <mingo@...e.hu>, Frans Pop <elendil@...net.nl>,
Chuck Ebbert <cebbert@...hat.com>, Greg KH <greg@...ah.com>,
stable@...nel.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage
Christian Borntraeger wrote:
> Am Montag, 29. Oktober 2007 schrieb Balbir Singh:
>> We'll also need this additional patch (untested), 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
>
> This is similar to what s390 and ppc64 do when CONFIG_VIRT_CPU_ACCOUNTING is
> set. Whenever you do a patch, please make sure to not break the already
> precise values for utime and stime on s390 and ppc. Feel free to CC me
> whenever you have a patch for this.
>
Yes, true. I'll cc everyone on this list and send out the patch as RFC.
Much of this code will be architecture specific and as you rightly
pointed out, needs to happen under !CONFIG_VIRT_CPU_ACCOUNTING
> Christian
--
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists