[PATCH] arm64: mm: Walk page tables with interrupts disabled in show_pte()
Karl Mehltretter
kmehltretter at gmail.com
Thu Aug 27 20:43:45 PDT 2026
On Thu, Aug 27, 2026 at 03:30:24PM +0100, Will Deacon wrote:
> > @@ -151,6 +152,8 @@ static void show_pte(unsigned long addr)
> > return;
> > }
> >
> > + guard(irqsave)();
> > +
> > pr_alert("%s pgtable: %luk pages, %llu-bit VAs, pgdp=%016lx\n",
> > mm == &init_mm ? "swapper" : "user", PAGE_SIZE / SZ_1K,
> > vabits_actual, mm_to_pgd_phys(mm));
>
> Curious, but why did you add the guard before the print?
Good point. No need to cover the print, I'll move it below in v2.
Thanks,
Karl
More information about the linux-arm-kernel
mailing list