Re: [Xen-devel] [PATCH] Cleanup rmb()/wmb() usage

Keir Fraser
2005-02-23T08:44:19Z

On 23 Feb 2005, at 07:57, Anthony Liguori wrote:

>> We should probably merge the barrier defs we have scattered in the
>> tools directory into one low-level architectural header that we
>> include everywhere, and extend for x86/64, ia64, and so on.
>
> Agreed.  Any ideas on where it would live?  I didn''t see any
likely
> place which is why I used asm/system.  io/ring.h seemed the closest
> fit but that''s not architecture specific.

I''d rather not further clutter the Xen headers with the defintions.
libxc is a utility library used by pretty much all the tools. How about
defining the barriers in xc.h?

  -- Keir