android_kernel_xiaomi_sm8350/arch/x86/mm
Andi Kleen 3c86882341 x86: c_p_a() fix: reorder TLB / cache flushes to follow Intel recommendation
Intel recommends to first flush the TLBs and then the caches
on caching attribute changes. c_p_a() previously did it the
other way round. Reorder that.

The procedure is still not fully compliant to the Intel documentation
because Intel recommends a all CPU synchronization step between
the TLB flushes and the cache flushes.

However on all new Intel CPUs this is now meaningless anyways
because they support Self-Snoop and can skip the cache flush
step anyway.

[ mingo@elte.hu: decoupled from clflush and ported it to x86.git ]

Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:52 +01:00
..
discontig_32.c x86: make NUMA work on 32-bit 2008-01-30 13:33:25 +01:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault_32.c x86: return the page table level in lookup_address() 2008-01-30 13:33:43 +01:00
fault_64.c x86: update reliability argument to printk_address 2008-01-30 13:33:24 +01:00
highmem_32.c
hugetlbpage.c x86: demacro asm-x86/pgalloc_32.h 2008-01-30 13:33:39 +01:00
init_32.c x86: shrink __PAGE_KERNEL/__PAGE_KERNEL_EXEC on non PAE kernels 2008-01-30 13:33:50 +01:00
init_64.c c_p_a(): do a simple self test at boot 2008-01-30 13:33:42 +01:00
ioremap_32.c x86: early_ioremap_init(), enhance warnings 2008-01-30 13:33:49 +01:00
ioremap_64.c x86: set strong uncacheable where UC is really desired 2008-01-30 13:33:43 +01:00
k8topology_64.c x86: clean up k8topology.c 2008-01-30 13:32:36 +01:00
Makefile
Makefile_32 x86: replace boot_ioremap() with enhanced bt_ioremap() - remove boot_ioremap() 2008-01-30 13:33:44 +01:00
Makefile_64 x86: c_p_a(), add simple self test at boot 2008-01-30 13:33:43 +01:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c x86: early cpu_to_node fix in numa_64.c 2008-01-30 13:33:33 +01:00
pageattr_32.c x86: c_p_a() fix: reorder TLB / cache flushes to follow Intel recommendation 2008-01-30 13:33:52 +01:00
pageattr_64.c x86: c_p_a() fix: reorder TLB / cache flushes to follow Intel recommendation 2008-01-30 13:33:52 +01:00
pageattr-test.c x86: fix c_p_a() boot crash 2008-01-30 13:33:52 +01:00
pgtable_32.c x86: allocate and initialize unshared pmds 2008-01-30 13:33:40 +01:00
srat_64.c x86: fix section mismatch warning in srat_64.c 2008-01-30 13:33:37 +01:00