linux_dsm_epyc7002/arch
Bibo Mao 2292d9691c hugetlb: clear huge pte during flush function on mips platform
[ Upstream commit 33ae8f801ad8bec48e886d368739feb2816478f2 ]

If multiple threads are accessing the same huge page at the same
time, hugetlb_cow will be called if one thread write the COW huge
page. And function huge_ptep_clear_flush is called to notify other
threads to clear the huge pte tlb entry. The other threads clear
the huge pte tlb entry and reload it from page table, the reload
huge pte entry may be old.

This patch fixes this issue on mips platform, and it clears huge
pte entry before notifying other threads to flush current huge
page entry, it is similar with other architectures.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19 09:44:37 +02:00
..
alpha
arc
arm
arm64 arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART 2021-07-14 16:56:50 +02:00
c6x
csky csky: syscache: Fixup duplicate cache flush 2021-07-14 16:56:52 +02:00
h8300
hexagon
ia64
m68k m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning 2021-07-14 16:56:05 +02:00
microblaze
mips hugetlb: clear huge pte during flush function on mips platform 2021-07-19 09:44:37 +02:00
nds32
nios2
openrisc
parisc
powerpc powerpc/preempt: Don't touch the idle task's preempt_count during hotplug 2021-07-14 16:56:55 +02:00
riscv
s390 s390: preempt: Fix preempt_count initialization 2021-07-14 16:56:54 +02:00
sh
sparc
um
x86 x86/sev: Split up runtime #VC handler for correct state tracking 2021-07-14 16:56:09 +02:00
xtensa
.gitignore
Kconfig