Re: [PATCH 1/6 v2] sched: Init idle->on_rq in init_idle()

From: Peter Zijlstra
Date: Tue Feb 11 2014 - 04:21:30 EST


On Tue, Feb 11, 2014 at 10:17:58AM +0100, Sebastian Andrzej Siewior wrote:
> The init task is state TASK_RUNNING and on_irq should be set to 1. It won't

^^^ irq? :-)

> be set by scheduler because the idle task is never woken up, it is always the
> task we fall back to if there is no other task pending.

But why? Who cares? I mean, its true.. but what problem does it solve.
Why did Thomas write this patch.

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