Re: [RFC][PATCH] Runtime switching of the idle function [take 2]

From: Steven Rostedt
Date: Tue Nov 29 2005 - 10:42:43 EST


On Tue, 2005-11-29 at 15:50 +0100, Andi Kleen wrote:
> On Tue, Nov 29, 2005 at 09:19:31AM -0500, Steven Rostedt wrote:
> > > And in practice the CPU will run so hot that only benchmarkers like it.
> >
> > Why would it run hot? What's the difference between polling and doing
> > other things. How many transistors does it take to poll?
>
> It will prevent the CPU from going into sleep states and essentially
> keep most of it enabled.

Well, there's one thing that my patch _does_ help with. (And it has
just helped me now). If you boot up with idle=poll and forget about it,
you can check what idle routine is being used and switch out of poll
without rebooting. (like I'm doing right now :-)

-- Steve

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