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

From: Peter Zijlstra
Date: Fri Sep 23 2011 - 10:08:22 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/