Re: [patch 9/9] Scheduler profiling - Use conditional calls

Andrew Morton
2007-05-30T20:35:22Z

On Wed, 30 May 2007 10:00:34 -0400
Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:

> @@ -2990,7 +2991,8 @@
> print_irqtrace_events(prev);
> dump_stack();
> }
> - profile_hit(SCHED_PROFILING, __builtin_return_address(0));
> + cond_call(profile_on,
> + profile_hit(SCHED_PROFILING, __builtin_return_address(0)));
>

That's looking pretty neat. Do you have any before-and-after performance
figures for i386 and for a non-optimised architecture?