Files
android_kernel_xiaomi_sm8450/arch/x86/kernel
Suresh Siddha ce4e240c27 x86: add x2apic_wrmsr_fence() to x2apic flush tlb paths
Impact: optimize APIC IPI related barriers

Uncached MMIO accesses for xapic are inherently serializing and hence
we don't need explicit barriers for xapic IPI paths.

x2apic MSR writes/reads don't have serializing semantics and hence need
a serializing instruction or mfence, to make all the previous memory
stores globally visisble before the x2apic msr write for IPI.

Add x2apic_wrmsr_fence() in flush tlb path to x2apic specific paths.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: "steiner@sgi.com" <steiner@sgi.com>
Cc: Nick Piggin <npiggin@suse.de>
LKML-Reference: <1237313814.27006.203.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-03-18 09:36:14 +01:00
..
2009-02-22 20:05:19 +01:00
2009-01-20 12:29:20 +09:00
2007-10-11 11:17:24 +02:00
2009-03-13 05:38:29 +01:00
2009-03-11 10:29:28 +01:00
2009-03-11 10:29:28 +01:00
2009-01-20 12:29:19 +09:00
2008-12-12 11:08:42 +01:00
2009-02-10 13:13:23 +01:00
2009-02-23 00:08:11 +01:00
2008-12-31 18:07:42 -05:00
2009-02-09 12:16:05 +01:00
2009-03-13 02:36:52 +01:00
2009-02-17 17:52:44 +01:00
2009-02-23 00:08:11 +01:00
2009-01-02 17:46:24 +01:00
2009-02-23 00:08:11 +01:00
2009-01-12 11:22:50 +01:00
2009-01-20 17:14:28 +01:00
2009-02-23 00:08:11 +01:00
2009-03-10 09:55:18 +01:00
2009-03-11 10:29:28 +01:00
2008-10-20 08:52:41 -07:00
2009-03-11 10:29:28 +01:00
2009-02-17 17:52:44 +01:00
2009-01-31 04:21:18 +01:00
2008-07-16 12:15:17 -07:00
2008-07-22 14:35:57 +02:00
2008-10-22 22:55:23 -07:00
2009-02-23 00:08:11 +01:00
2008-07-22 14:35:57 +02:00
2008-01-30 13:31:52 +01:00
2009-02-17 17:52:44 +01:00
2008-10-16 16:53:13 +02:00
2007-10-11 11:17:24 +02:00
2009-02-17 17:52:44 +01:00
2009-02-26 06:40:06 +01:00