Re: [PATCH 6/7] mm: Set pt_mm in PTE constructor

From: Geert Uytterhoeven
Date: Wed Apr 29 2020 - 03:46:25 EST


On Tue, Apr 28, 2020 at 9:45 PM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
> From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
>
> By setting pt_mm for pages in use as page tables, we can help with
> debugging and lay the foundation for handling hardware errors in page
> tables more gracefully. It also opens up the possibility for adding
> more sanity checks in the future.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

> arch/m68k/include/asm/mcf_pgalloc.h | 2 +-
> arch/m68k/mm/motorola.c | 2 +-

Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds