John Baldwin <[email protected]> wrote:
>There is the __compiler_membar() macro in <sys/cdefs.h> that you could
>use if 
>this code is x86-specific (and thus knows it only needs a compiler
>barrier).

Ah. Thanks. This will do. Something like access_once would be perfect, though.

I'll post an updated patch that does not duplicate code that is in xen/ 
soonish. Didn't get around to testing it the last days.

Julian
-- 
Out of office. Please excuse my brevity.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"[email protected]"

Reply via email to