lkml.org 
[lkml]   [2007]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: delayacct regression in 2.6.24 git

* Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

> Hi, Ingo,
>
> I missed commit 75d4ef16a6aa84f708188bada182315f80aab6fa
> "sched: fix delay accounting performance regression"
>
> Without these changes, I find that delay accounting does
> not work as expected, I see zeros in the field for virtual,delay
> and count(s).
>
> CPU count real total virtual total delay total
> 0 535861848 0 0
>
>
> This breaks existing delay accounting behaviour.
>
> Am I missing something?

delay accounting was causing context-switch slowdown because it called
sched_clock() explicitly - but indeed my fix to that is wrong ...

how about reverting the change but also using rq->clock instead of
sched_clock()?

Ingo
-
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-11-02 16:29    [W:0.042 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site