aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/dts/mti/sead3.dts
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2020-06-29 21:15:32 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-05-11 22:34:53 +0200
commit33ae8f801ad8bec48e886d368739feb2816478f2 (patch)
tree5f9567403bd968db69dacf955ba9c0b3c3205843 /arch/mips/boot/dts/mti/sead3.dts
parent9fa996c5f003beae0d8ca323caf06a2b73e471ec (diff)
downloadlinux-33ae8f801ad8bec48e886d368739feb2816478f2.tar.gz
hugetlb: clear huge pte during flush function on mips platform
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>
Diffstat (limited to 'arch/mips/boot/dts/mti/sead3.dts')
0 files changed, 0 insertions, 0 deletions