Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> Another confusing thing is that asm-i386 defines mb() and rmb() just
> to be compiler barriers,

I see:
#define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2)

as for mb() - I don't thnk our kernel code uses that so I think userspace
should switch to wmb as well. wmb isjust a compiler barrier on most
arhitectures.

-- 
MST

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to