Re: [PATCH v2 4/6] trace: Add tracepoints to reschedule interrupthandler

From: Peter Zijlstra
Date: Thu Jul 28 2011 - 08:08:27 EST


On Wed, 2011-07-27 at 11:57 -0700, Vaibhav Nagarnaik wrote:
> @@ -2578,6 +2579,7 @@ static void sched_ttwu_pending(void)
> struct rq *rq = this_rq();
> struct task_struct *list = xchg(&rq->wake_list, NULL);
>
> + trace_reschedule_interrupt_entry(0);
> if (!list)
> return;
>
> @@ -2610,6 +2612,7 @@ void scheduler_ipi(void)
> irq_enter();
> sched_ttwu_do_pending(list);
> irq_exit();
> + trace_reschedule_interrupt_exit(0);
> }

That's just wrong..

--
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/