> > asm volatile("rep ; nop"); > > > > (there's not much a "rep nop" _can_ do, after all - the most likely CPU > > extension would be to raise an "Illegal Opcode" fault). > > Just for the curious, this works on Athlons. :) What state does it leave the condition codes ? That matters. Take for example if (!oldval) asm volatile( "2:" "cmpl $-1, %0;" "rep; nop;" "je 2b;" : :"m" (current->need_resched)); } When running SMP with poll_idle enabled. I can't see it changing condition codes on an athlon but.. - 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/
- Re: Pentium 4 and 2.4/2.5 Andre Hedrick
- Re: Pentium 4 and 2.4/2.5 Alan Cox
- Re: Pentium 4 and 2.4/2.5 Lyle Coder
- Re: Pentium 4 and 2.4/2.5 Alan Cox
- Re: Pentium 4 and 2.4/2.5 Linus Torvalds
- Re: Pentium 4 and 2.4/2.5 Linus Torvalds
- Re: Pentium 4 and 2.4/2.5 Alan Cox
- Re: Pentium 4 and 2.4/2.5 Linus Torvalds
- Re: Pentium 4 and 2.4/2.5 Alan Cox
- Re: Pentium 4 and 2.4/2.5 Brian Pomerantz
- Re: Pentium 4 and 2.4/2.5 Alan Cox
- Re: Pentium 4 and 2.4/2.5 kernel
- Re: Pentium 4 and 2.4/2.5 Alan Cox
- Re: Pentium 4 and 2.4/2.5 Simon Kirby
- Re: Pentium 4 and 2.4/2.5 Brian Pomerantz
- Re: Pentium 4 and 2.4/2.5 Robert M. Love
- Re: Pentium 4 and 2.4/2.5 Alan Cox
- Re: Pentium 4 and 2.4/2.5 Frank Davis
- Re: Pentium 4 and 2.4/2.5 Alan Cox