Re: Pentium 4 and 2.4/2.5

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Nov 07 2000 - 16:48:40 EST


> are you saying that rep;nop is not needed in the spinlocks? (because they
> are for P4)

rep;nop is a magic instruction on the PIV and possibly some PIII series CPUs
[not sure]. As far as I can make out it naps momentarily or until bus
activity thus saving power on spinlocks.

The problem is 'rep nop' is not defined on other cpus so we can only really use
it on the PIII/PIV kernel builds

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:23 EST