[PATCH 1/1] mm/rmap: make folio unmap batching safe and support partial batches

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Wed Jul 16 08:21:43 PDT 2025


Hello:

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

On Fri, 27 Jun 2025 10:52:14 +0800 you wrote:
> From: Lance Yang <lance.yang at linux.dev>
> 
> As pointed out by David[1], the batched unmap logic in try_to_unmap_one()
> can read past the end of a PTE table if a large folio is mapped starting at
> the last entry of that table.
> 
> So let's fix the out-of-bounds read by refactoring the logic into a new
> helper, folio_unmap_pte_batch().
> 
> [...]

Here is the summary with links:
  - [1/1] mm/rmap: make folio unmap batching safe and support partial batches
    https://git.kernel.org/riscv/c/ddd05742b45b

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