aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2023-09-06 22:53:09 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-09-06 22:53:09 +0800
commitad3ff105611b9b06e16ae57e97b48916ff93dd46 (patch)
treeebcf9eef57173f5e341bee00dbfcb074e9b36251 /tools/perf/scripts/python/export-to-postgresql.py
parentLoongArch: mm: Add p?d_leaf() definitions (diff)
downloadwireguard-linux-ad3ff105611b9b06e16ae57e97b48916ff93dd46.tar.xz
wireguard-linux-ad3ff105611b9b06e16ae57e97b48916ff93dd46.zip
LoongArch: Remove shm_align_mask and use SHMLBA instead
Both shm_align_mask and SHMLBA want to avoid cache alias. But they are inconsistent: shm_align_mask is (PAGE_SIZE - 1) while SHMLBA is SZ_64K, but PAGE_SIZE is not always equal to SZ_64K. This may cause problems when shmat() twice. Fix this problem by removing shm_align_mask and using SHMLBA (strictly SHMLBA - 1) instead. Reported-by: Jiantao Shan <shanjiantao@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