lkml.org 
[lkml]   [2016]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage!
> > http://halobates.de/tracepoint-trace
>
> There's a lot of push and pop regs due to function calling. There's
> places that inlines can still improve things, and perhaps even some
> likely unlikelys well placed.

Assuming you avoid all the push/pop and all the call/ret this would only be
~25% of the total instructions. There is just far too much logic and
computation in there.

% awk ' { print $5 } ' tracepoint-trace | sort | uniq -c | sort -rn
222 mov
57 push
57 pop
35 test
34 cmp
32 and
28 jz
25 jnz
21 ret
20 call
16 lea
11 add

-Andi

\
 
 \ /
  Last update: 2016-11-21 21:45    [W:0.528 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site