Re: [patch] remove set_tsk_need_resched() from init_idle()

From: Ingo Molnar
Date: Sat May 28 2005 - 13:53:03 EST



* Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:

> > The patch below should address this problem for all architectures, by
> > doing an explicit schedule() in the init code before calling into
> > cpu_idle().
>
> Yuck - wouldn't it be better just to fix all the architectures instead
> of applying band aid?

it's not really a bug in any architecture - it's a scheduler setup
detail that i changed, and which i initially thought would be best
handled in cpu_idle(), but which is easier to do in rest_init().

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