lkml.org 
[lkml]   [2009]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:perfcounters/core] perf_counter: x86: Fix call-chain support to use NMI-safe methods

* Ingo Molnar <mingo@elte.hu> wrote:

> The GUP based method is pretty generic though - and can be used on
> other architectures as well. It's not as fast as direct access
> though.

Another question is: your patch switches over all normal exceptions
from IRET to hand-unroll+RET.

It would be really nice to benchmark it (via 'perf stat' for example
;-) whether that's a slowdown or a speedup.

If it's a slowdown then the decision is easy: we dont want this, we
want to push the overhead into the sampling code, away from common
codepaths.

[ If on the other hand it's a speedup of a few cycles then we have
the problem of me suddenly liking this patch a whole lot more ;-) ]

Ingo


\
 
 \ /
  Last update: 2009-06-15 20:31    [W:0.206 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site