+2
−0
Loading
mainline inclusion from mainline-v6.11-rc1 commit 32d4b999dadee0a84ac7fe709cae21d29364e1d1 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAZJDO CVE: NA -------------------------------- When updating pmd entry such as allocating new pmd page or splitting huge page into normal page, it is necessary to firstly update all pte entries, and then update pmd entry. It is weak order with LoongArch system, there will be problem if other VCPUs see pmd update firstly while ptes are not updated. Here smp_wmb() is added to assure this. Signed-off-by:Bibo Mao <maobibo@loongson.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn> Signed-off-by:
Xianglai Li <lixianglai@loongson.cn>