summaryrefslogtreecommitdiff
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorHongchen Zhang <zhanghongchen@loongson.cn>2023-06-15 14:35:52 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-06-15 14:35:52 +0800
commitddc1729b07cc84bb29f577698b8d2e74a4004a6e (patch)
treeaa059fbf86c4d94662b3e9378a2e7d9848935c2d /lib/xarray.c
parent858fd168a95c5b9669aac8db6c14a9aeab446375 (diff)
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 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions