x86: add smp_mb() before sending INVALIDATE_TLB_VECTOR
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 4 Nov 2008 21:53:04 +0000 (13:53 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 6 Nov 2008 08:41:49 +0000 (09:41 +0100)
Impact: fix rare x2apic hang

On x86, x2apic mode accesses for sending IPI's don't have serializing
semantics. If the IPI receivner refers(in lock-free fashion) to some
memory setup by the sender, the need for smp_mb() before sending the
IPI becomes critical in x2apic mode.

Add the smp_mb() in native_flush_tlb_others() before sending the IPI.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found