Re: [PATCH] Document Linux's memory barriers [try #2]

From: Paul Mackerras
Date: Wed Mar 08 2006 - 20:55:29 EST


Jesse Barnes writes:

> It uses a per-node address space to reference the local bridge. The
> local bridge then waits until the remote bridge has acked the write
> before, then sets the outstanding write register to the appropriate
> value.

That sounds like mmiowb can only be used when preemption is disabled,
such as inside a spin-locked region - is that right?

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