Bibo Mao
2d935fb063
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-20 16:21:06 +02:00
..
alpha
alpha: switch __copy_user() and __do_clean_user() to normal calling conventions
2021-03-17 16:10:18 +01:00
arc
ARC: entry: fix off-by-one error in syscall number validation
2021-05-22 10:40:31 +02:00
arm
ARM: dts: at91: sama5d4: fix pinctrl muxing
2021-07-20 16:20:56 +02:00
arm64
arm64: perf: Disable PMU while processing counter overflows
2021-06-30 08:49:19 -04:00
avr32
blackfin
pinctrl: adi2: Fix Kconfig build problem
2017-12-20 10:07:32 +01:00
c6x
cris
frv
futex: Remove duplicated code and fix undefined behaviour
2018-05-19 10:27:00 +02:00
h8300
h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
2021-02-23 13:59:16 +01:00
hexagon
hexagon: work around compiler crash
2020-01-23 08:19:38 +01:00
ia64
ia64: mca_drv: fix incorrect array size calculation
2021-07-20 16:21:00 +02:00
m32r
m68k
m68k: q40: Fix info-leak in rtc_ioctl
2020-10-01 20:40:01 +02:00
metag
microblaze
microblaze: Prevent the overflow of the start
2020-02-28 15:42:42 +01:00
mips
hugetlb: clear huge pte during flush function on mips platform
2021-07-20 16:21:06 +02:00
mn10300
mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
2018-02-17 13:21:20 +01:00
nios2
nios2: ksyms: Add missing symbol exports
2020-01-29 10:24:18 +01:00
openrisc
openrisc: Define memory barrier mb
2021-06-03 08:23:32 +02:00
parisc
parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
2021-04-16 11:59:07 +02:00
powerpc
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
2021-06-16 11:36:34 +02:00
s390
s390: appldata depends on PROC_SYSCTL
2021-07-20 16:21:04 +02:00
score
sh
sh: dma: fix kconfig dependency for G2_DMA
2021-01-30 13:27:15 +01:00
sparc
sparc32: fix a user-triggerable oops in clear_user()
2021-03-03 17:44:44 +01:00
tile
locking/x86: Remove the unused atomic_inc_short() methd
2020-01-12 11:24:19 +01:00
um
um: Mark all kernel symbols as local
2021-05-22 10:40:34 +02:00
unicore32
x86
x86/fpu: Reset state for all signal restore failures
2021-06-30 08:49:18 -04:00
xtensa
xtensa: disable preemption around cache alias management calls
2020-11-24 13:03:08 +01:00
.gitignore
Kconfig
cpu/hotplug: Provide knobs to control SMT
2018-08-15 18:14:46 +02:00