diff options
author | 2021-06-11 15:09:46 +0800 | |
---|---|---|
committer | 2021-06-21 11:27:30 +0200 | |
commit | ed914d48b6a1040d1039d371b56273d422c0081e (patch) | |
tree | 596f4949f98a8f5e76c575d932590e4f2fec7ddb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | MIPS: Loongson64: fix spelling of SPDX tag (diff) | |
download | wireguard-linux-ed914d48b6a1040d1039d371b56273d422c0081e.tar.xz wireguard-linux-ed914d48b6a1040d1039d371b56273d422c0081e.zip |
MIPS: add PMD table accounting into MIPS'pmd_alloc_one
This fixes Page Table accounting bug.
MIPS is the ONLY arch just defining __HAVE_ARCH_PMD_ALLOC_ONE alone.
Since commit b2b29d6d011944 (mm: account PMD tables like PTE tables),
"pmd_free" in asm-generic with PMD table accounting and "pmd_alloc_one"
in MIPS without PMD table accounting causes PageTable accounting number
negative, which read by global_zone_page_state(), always returns 0.
Signed-off-by: Huang Pei <huangpei@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions