Pentium 4 and 2.4/2.5
Alan,
As for 'rep nop', couldn't we add in the code, as an example:
#ifdef Pentium_4
rep nop
#endif
As for the 2.2.18 patch for correctly determining 2GHz and above, can
it be easily merged into the 2.4.x kernel, and if so, what's the maximum clock speed that can be detected?
Regards,
-Frank
Quoted 10 lines · On Tue, 7 Nov 2000 21:48:40 +0000 (GMT) Alan Cox <[email protected]>…
Quoted 1 line
are you saying that rep;nop is not needed in the spinlocks?
(because they
Quoted 1 line
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.
Quoted 4 lines
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 3 lines
As for the 2.2.18 patch for correctly determining 2GHz and above, can
it be easily merged into the 2.4.x kernel, and if so, what's the maximum clock speed that can be detected?
It should be easy yes. Its good to 100Ghz or so now ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/