Re: [patch] smp-2.3.30-A1, mb(), wmb(), rmb()

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Fri, 26 Nov 1999 03:15:04 +0100 (CET)


On Thu, 25 Nov 1999, Andrea Arcangeli wrote:

> Your "addl $0, (%%esp)" make no sense to me.

It's basically a dummy store, which prevents previous reads executing
after the write has been executed. [It's guaranteed to be a store and it
will never be optimized away by the CPU as a no-op.]

-- mingo

-
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/