On Thu, Jan 15, 2009 at 03:13:59PM +0100, Jean-Yves Migeon wrote:
What should I do? Drop it for the x86 generic bus code, and keep it for
the Xen drivers?
No, membar_ops won't work for bus_dma/bus_space either. membar_ops are
patched
to be NOP on UP kernels, still they're needed for interfaces with
devices.
Hmm, I was not really clear on that one: I just meant to keep the
membar_ops(3) routines for the xennet, xbd and xencons drivers: since we
do not patch the LOCK prefix for UP Xen domains, they are close to the
x86_*fence() ones.
Actually yes; but we'll probably want to use x86_patch() in the future.