Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [patch] x86_*fence replaced by membar_ops(3)



Jean-Yves Migeon wrote:
> Hi lists,
> 
> These are the first steps to have MI Xen drivers (hi christoph!),

Nice!

> by replacing all the x86_*fence memory ops to their "equivalent" ones from
> the membar_ops(3) API. See [1].
> 
> I took this opportunity to do the same for arch/x86,i386,amd64.
> 
> GENERIC/XEN3_DOM0 do compile fine for amd64, and GENERIC/XEN3_DOM0 were
> compiled and "tested" (through a complete build.sh run) for i386.
> 
> @port-xen: what is the purpose of this load fence [2], considering that
> hypercalls are memory barriers?
> 
> Thanks for reading. Comments and reviews are appreciated.

Both patches look good to me.

Christoph

> Cheers,
> 
> [1] http://www.netbsd.org/~jym/membar_ops.diff
> 
> [2] http://www.netbsd.org/~jym/if_xennet_xenbus.c.diff
> 



Home | Main Index | Thread Index | Old Index