Re: [PATCH v2] LoongArch: add p?d_leaf() definitions

From: David Hildenbrand
Date: Wed Sep 06 2023 - 04:46:45 EST


On 06.09.23 10:43, Hongchen Zhang wrote:
When I do LTP test, LTP test case ksm06 caused panic at
break_ksm_pmd_entry
-> pmd_leaf (Huge page table but False)
-> pte_present (panic)

The reason is pmd_leaf is not defined, So like
commit 501b81046701 ("mips: mm: add p?d_leaf() definitions")
add p?d_leaf() definition for LoongArch.

v2: add Fixes: in commit message.

This belongs under the "---". I assume whoever picks that up can fix it up.


Fixes: 09cfefb7fa70 ("LoongArch: Add memory management")
Signed-off-by: Hongchen Zhang <zhanghongchen@xxxxxxxxxxx>
---

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

We should CC stable. I assume whoever picks that up can fix it up.

--
Cheers,

David / dhildenb