John Baldwin <j...@freebsd.org> 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. _______________________________________________ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"