Re: [RESEND PATCH] riscv: mm: exclude invalid THP PMDs from page table check

From: patchwork-bot+linux-riscv

Date: Sun Nov 01 2026 - 17:36:04 EST


Hello:

This patch was applied to riscv/linux.git (fixes)
by Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>:

On Sat, 23 May 2026 12:20:52 +0800 you wrote:
> RISC-V THP splitting uses a temporary invalid PMD state where
> pmd_mkinvalid() clears _PAGE_PRESENT and _PAGE_PROT_NONE but leaves
> _PAGE_LEAF set so the MM code can still recognize the PMD as a THP split
> in-progress entry.
>
> That temporary state no longer describes a user-accessible mapping, but
> page_table_check currently treats it as one because the RISC-V PMD
> user-accessibility test only checks whether the PMD is a leaf and has
> user permissions.
>
> [...]

Here is the summary with links:
- [RESEND] riscv: mm: exclude invalid THP PMDs from page table check
https://git.kernel.org/riscv/c/bdda2887cbf3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html