Re: [Q] Implementation of spin_lock on i386: why "rep;nop" ?

Dave Jones (davej@suse.de)
Mon, 17 Sep 2001 18:22:33 +0200 (CEST)


On Mon, 17 Sep 2001, Jean-Marc Saffroy wrote:

> What is the intent behind this "rep;nop" ? Does it really rely on an
> undocumented behaviour ?

Its used to stop Pentium 4's from cooking themselves.
See the P4 manuals for more info.

regards,

Dave.

-- 
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs

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