> > I don't think an mmiowb() equivalent is available from userspace. > > Isn't this just an asm() command?
Nope, look at the kernel source, specifically arch/ia64/sn/kernel/iomv.c > BTW, I think we really should implement proper rmb/wmb in arch.h. > Last time I looked we only had compiler barriers here, and > this means, I think, that a read from e.g. CQE contents could bypass > the read of the CQE valid bit. I'm not absolutely sure everything there is correct but I did my best, for example #elif defined(__ia64__) #define mb() asm volatile("mf" ::: "memory") Do you know of any specific archs that are broken? - R. _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general