Re: netpoll/netconsole minor tweaks

From: Alan Cox
Date: Thu Sep 18 2003 - 16:35:14 EST


On Iau, 2003-09-18 at 17:48, Chris Wright wrote:
> > <pedant>
> > should be cpu_relax();
> > </pedant>
>
> Hrm, there's many spots that aren't using it. What's the benefit, less
> power consumption? Is it worth a patch to convert other things over?

It speeds up hyperthreading CPUs by letting them know that this
paticular thread is waiting for stuff (sched_yield for silicon)

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