Re: [PATCH 19/21] tracing: Account for preempt off in preempt_schedule()

Peter Zijlstra
2011-09-23T14:08:15Z

On Fri, 2011-09-23 at 16:00 +0200, Peter Zijlstra wrote:
>
> Wouldn't it be much more sensible to mark all that preempt/irq fiddling
> in the idle path with _notrace instead? And stick a comment near.
>
> Having two things to do the same thing just doesn't make sense.

That is, it seems to me avoiding the idle path is seen as a non-preempt
region is cleaner than (mostly) fixing it up.