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

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Sun Nov 1 14:17:02 PST 2026


Hello:

This patch was applied to riscv/linux.git (fixes)
by Andrew Morton <akpm at linux-foundation.org>:

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





More information about the linux-riscv mailing list