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

From: Russell King
Date: Sat May 28 2005 - 11:34:00 EST


On Wed, May 25, 2005 at 03:51:30PM +0200, Ingo Molnar wrote:
> * Andrew Morton <akpm@xxxxxxxx> wrote:
> > Are all the other architectures busted as well?
>
> oh damn, they are indeed, because they need to hit schedule() at least
> once.
>
> 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?

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/