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

From: Nick Piggin
Date: Tue May 24 2005 - 10:30:51 EST


Ingo Molnar wrote:
* Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:


i just noticed that Nick's latest idle-optimizations patch is not in -rc4-mm2, so this will cause some clashes.

Yeah, hmm. I've just got lazy with porting to other architectures and sending to Andrew. I'll get it into shape in the next day or so and so this patch will go on top of it hopefully before Andrew is ready to release the next kernel.


we could do it in the other direction just as much - i only touched 3 architectures. Up to Andrew i guess.


How about just setting need_resched at the start of the cpu_idle
function instead? Rather than changing the structure of the idle
loops themselves. That would suit me best.

Thanks,
Nick

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