summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-07-09 11:25:51 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-07-09 11:25:51 +0300
commit32d4b999dadee0a84ac7fe709cae21d29364e1d1 (patch)
tree736b252cd4702a5ea19cddf8f1efb45e2cf9aee9 /tools/perf/scripts/python/export-to-postgresql.py
parentb072cbf0233b1fd9d84730cbe5cd1706dcacd354 (diff)
downloadlinux-32d4b999dadee0a84ac7fe709cae21d29364e1d1.tar.xz
LoongArch: KVM: Add memory barrier before update pmd entry
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions