[PATCH 01/46] mm/mglru: don't use stack pointers when walking PUD and PMD tables
Rik van Riel
riel at surriel.com
Mon Oct 26 18:32:00 PDT 2026
On Tue, 2026-10-27 at 00:17 +0100, David Hildenbrand (Arm) wrote:
> From: Josef Bacik <josef at toxicpanda.com>
>
> The fix is simple, so just fix the original commit so we don't have
> to
> speculate. To fix it, pass the actual PMD/PUD pointers. This restores
> the
> RCU-protected lookup and validation against the live PMD. Note that
> the PUD
> handling is required as well to handle folded page tables correctly
> in all
> cases.
>
> Fix generated by an LLM and sent by Josef Bacik in private.
>
> Fixes: bd74fdaea146 ("mm: multi-gen LRU: support page table walks")
> Cc: stable at vger.kernel.org
> Signed-off-by: Josef Bacik <josef at toxicpanda.com>
> [ david: handle walk_pud_range() as well, clarify+simplify
> description,
> adjust Fixes: ]
> Signed-off-by: David Hildenbrand (Arm) <david at kernel.org>
>
Reviewed-by: Rik van Riel <riel at surriel.com>
--
All Rights Reversed.
More information about the kexec
mailing list