[lkml]   [2001]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Q] Implementation of spin_lock on i386: why "rep;nop" ?
At 12:42 PM -0400 2001-09-17, Richard B. Johnson wrote:
> > What is the intent behind this "rep;nop" ? Does it really rely on an
> > undocumented behaviour ?
>Well it's now documented although you have to search a web-site to
>find it. Basically, it runs the CPU at low clock-speed when it's
>busy-waiting. Since most all spin-locks lock for mere microseconds
>it's unlikely that it does anything useful, but it can't hurt.

Sounds like a good opportunity for a comment....
/Jonathan Lundell.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.039 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site