Re: [PATCH v2 0/2] mm: fixes for stale TLB entries due to delayed/batched TLB flushes
From: David Hildenbrand (Arm)
Date: Wed Dec 02 2026 - 08:47:49 EST
On Tue, 01 Dec 2026 17:25:04 +0100, David Hildenbrand (Arm) wrote:
> These are the two remaining fixes from v1, whereby we fix two stale TLB
> issues with TTU_BATCH_FLUSH during reclaim.
>
> Patch #1: Don't defer TLB flushes when unmapping lazyfree folios. Handles
> mapping a new anon folio after reclaim discarded a lazyfree folio
> (do_anonymous_page(), migrate_vma_insert_page(), UFFDIO_COPY,
> UFFDIO_MOVE).
>
> [...]
Applied, thanks!
tree: mm/core.git
branch: for-next-fixes
Applied patches will appear soon in mm-next, followed by linux-next.
Please report any outstanding bugs that were missed during review, so we
can either drop the patch series or decide how to fix it up.
It is encouraged to provide Acked-bys, Reviewed-bys, and Tested-bys even
though the patches have already been applied. If possible, patch trailers
will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. Further, this is not a guarantee that the
patches will go upstream. If in doubt, please check the listed branch.
[1/2] mm/rmap: don't defer TLB flushes when unmapping lazyfree folios
https://git.kernel.org/mm/core/c/1bde274f
[2/2] mm/vmscan: unlock unmapped folios only after the deferred TLB flush
https://git.kernel.org/mm/core/c/aa304dfe
--
Cheers,
David