diff options
author | 2023-09-06 22:53:09 +0800 | |
---|---|---|
committer | 2023-09-06 22:53:09 +0800 | |
commit | 2bb20d2926a8ea991386315aa8017990ef7beb6a (patch) | |
tree | 8a052735e29b75bbdf6b59bfce471bcea40cee49 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | LoongArch: Code improvements in function pcpu_populate_pte() (diff) | |
download | wireguard-linux-2bb20d2926a8ea991386315aa8017990ef7beb6a.tar.xz wireguard-linux-2bb20d2926a8ea991386315aa8017990ef7beb6a.zip |
LoongArch: mm: Introduce unified function populate_kernel_pte()
Function pcpu_populate_pte() and fixmap_pte() are similar, they populate
one page from kernel address space. And there is confusion between pgd
and p4d in the function fixmap_pte(), such as pgd_none() always returns
zero. This patch introduces a unified function populate_kernel_pte() and
then replaces pcpu_populate_pte() and fixmap_pte().
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