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

From: patchwork-bot+linux-riscv
Date: Wed Jul 16 2025 - 11:23:20 EST


Hello:

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

On Fri, 27 Jun 2025 10:52:14 +0800 you wrote:
> From: Lance Yang <lance.yang@xxxxxxxxx>
>
> 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