summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHongchen Zhang <zhanghongchen@loongson.cn>2023-06-15 09:35:52 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2023-06-15 09:35:52 +0300
commitddc1729b07cc84bb29f577698b8d2e74a4004a6e (patch)
treeaa059fbf86c4d94662b3e9378a2e7d9848935c2d /scripts/gdb/linux/utils.py
parent858fd168a95c5b9669aac8db6c14a9aeab446375 (diff)
downloadlinux-ddc1729b07cc84bb29f577698b8d2e74a4004a6e.tar.xz
LoongArch: Let pmd_present() return true when splitting pmd
When we split a pmd into ptes, pmd_present() and pmd_trans_huge() should return true, otherwise it would be treated as a swap pmd. This is the same as arm64 does in commit b65399f6111b ("arm64/mm: Change THP helpers to comply with generic MM semantics"), we also add a new bit named _PAGE_PRESENT_INVALID for LoongArch. Signed-off-by: Hongchen Zhang <zhanghongchen@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions