android_kernel_xiaomi_sm8350/arch/i386/kernel/cpu
Loic Prylli d25c1ba2fa MTRR: Fix race causing set_mtrr to go into infinite loop
Processors synchronization in set_mtrr requires the .gate field to be set
after .count field is properly initialized.  Without an explicit barrier,
the compiler was reordering those memory stores.  That was sometimes
causing a processor (in ipi_handler) to see the .gate change and decrement
.count before the latter is set by set_mtrr() (which then hangs in a
infinite loop with irqs disabled).

Signed-off-by: Loic Prylli <loic@myri.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-06 10:23:43 -07:00
..
cpufreq Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mcheck i386: Clear MCE flag on AMD K6 2007-05-21 09:56:57 -07:00
mtrr MTRR: Fix race causing set_mtrr to go into infinite loop 2007-07-06 10:23:43 -07:00
amd.c i386: Clear MCE flag on AMD K6 2007-05-21 09:56:57 -07:00
bugs.c
centaur.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
common.c
cpu.h
cyrix.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
intel_cacheinfo.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
intel.c [PATCH] i386: Implement X86_FEATURE_SYNC_RDTSC on i386 2007-05-02 19:27:20 +02:00
Makefile [PATCH] i386: Clean up NMI watchdog code 2007-05-02 19:27:20 +02:00
nexgen.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
perfctr-watchdog.c Revert perfctr reservation to 2.6.21 state 2007-07-03 18:11:35 -07:00
proc.c
rise.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
transmeta.c i386: cpu/transmeta.c: fix definition of USER686 2007-05-09 12:49:33 -07:00
umc.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00