Re: x86: clean up smpboot.c's use of udelay+schedule

From: Arjan van de Ven
Date: Tue Jan 31 2012 - 08:31:03 EST


On Tue, 31 Jan 2012 13:43:41 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:
> > + usleep_range(100, 200);
>
> I'm wondering whether we could shorten this delay to say 10
> usecs and thus save 0.1 msecs (or more) from a typical SMP
> bootup?

doesn't matter really; bringing up a cpu is several orders more
expensive (> 100msec in 3.2, in 3.3 this got optimized to maybe 30 msec)
0.1 msec is the least of anyone's worries at this point ;-)

(would be nice if this was a completion, but this is rather fragile
code in general... at least not making it spin is an incremental
improvement)

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