On Thu, Oct 30, 2008 at 12:20:30AM -0700, Jens Axboe wrote:
No. We want the ipi receiver to see the new consistent data rather than possible
old consistent data.
And on x86, smp_wmb() is a simple barrier() (in !CONFIG_X86_OOSTORE) and
which doesn't do much in this case.
on x86 mfence (smp_mb()) will ensure that msr based APIC (x2apic) accesses (ipi)
will be visible only after the memory operations before smp_mb() are made
visible.
thanks,
suresh
--