In the Linux kernel, the following vulnerability has been resolved: LoongArch: mm: Add p?dleaf() definitions When I do LTP test, LTP test case ksm06 caused panic at breakksmpmdentry -> pmdleaf (Huge page table but False) -> ptepresent (panic) The reason is pmdleaf() is not defined, So like commit 501b81046701 ("mips: mm: add p?dleaf() definitions") add p?d_leaf() definition for LoongArch.