[lkml]   [2000]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Pentium 4 and 2.4/2.5
As for 'rep nop', couldn't we add in the code, as an example:
#ifdef Pentium_4
rep nop

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?


On Tue, 7 Nov 2000 21:48:40 +0000 (GMT) Alan Cox
<> writes:
> > 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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean