Messages in this thread | | | Date | Fri, 17 Dec 1999 08:15:45 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: scheduling problem? |
| |
On Fri, 17 Dec 1999, Andrea Arcangeli wrote:
> On Thu, 16 Dec 1999, Jamie Lokier wrote: > > > asm volatile("sti ; hlt" : : : "memory"); > ^^^^^^^^^ > > The wakeup can still happen between sti and hlt so it doesn't fix the > irq race condition.
Nope. Intel has a one-instruction delay after a sti. If the interrupt comes in, it comes in "during" the hlt, and will cause the hlt to complete.
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |