Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 01:41:26 +0100
From:      Julian Stecklina <jsteckli@os.inf.tu-dresden.de>
To:        John Baldwin <jhb@freebsd.org>,freebsd-virtualization@freebsd.org
Subject:   Re: KVM Clock
Message-ID:  <ed327598-1439-4446-96d0-bd3b8fd24060@email.android.com>
In-Reply-To: <3298215.G6vx8QjdMB@pippin.baldwin.cx>
References:  <lb3jnb$qo8$1@ger.gmane.org> <52D6B18D.4080204@citrix.com> <1389805150.16498.18.camel@janus.xn--pl-wia.net> <3298215.G6vx8QjdMB@pippin.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help


John Baldwin <jhb@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed327598-1439-4446-96d0-bd3b8fd24060>