lkml.org 
[lkml]   [2012]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC/PATCH] Prevent wasting time to find out get_parent_ip
From
Date
On Tue, 2012-04-24 at 14:53 +0200, Peter Zijlstra wrote:
> On Tue, 2012-04-24 at 21:36 +0900, Minho Ban wrote:
> > trace_preempt_on/off looks empty if PREEMPT_TRACER is off. But actually it is
> > spending time to find out get_parent_ip(even CALLER_ADDR for some ARCH) which is
> > in argument. This seems not fair for those who expect to do nothing but increase
> > or decrease count.
>
> You can do the same by making them CPP macros and adding a comment as to
> why they're macros instead of inlines..

I should read the thread before answering. I just repeated basically
exactly what you said ;-)

-- Steve





\
 
 \ /
  Last update: 2012-04-24 20:23    [W:0.087 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site