lkml.org 
[lkml]   [2009]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] perfcounters: Make s/w counters in a group only count when group is on
From
Date
On Fri, 2009-03-13 at 13:44 +0100, Peter Zijlstra wrote:

> The same for task migration, most migrations happen when they are in
> fact running, so there too we can account the migration either before we
> rip it off the src cpu, or after we place it on the dst cpu.

Right, I got confused between being on the cpu and having ->state = R.

Migrations are the odd one out indeed, but I'd rather fudge a little
with the migration counter itself than have this weird asymmetry.



\
 
 \ /
  Last update: 2009-03-13 14:09    [W:0.359 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site