Re: [PATCH v13 00/11] Support page table check on PowerPC
From: Andrew Morton
Date: Thu Mar 13 2025 - 18:48:05 EST
On Thu, 13 Mar 2025 13:54:39 +1100 Andrew Donnellan <ajd@xxxxxxxxxxxxx> wrote:
> On Wed, 2025-02-12 at 03:13 +1100, Andrew Donnellan wrote:
> > Support page table check on all PowerPC platforms. This works by
> > serialising assignments, reassignments and clears of page table
> > entries at each level in order to ensure that anonymous mappings
> > have at most one writable consumer, and likewise that file-backed
> > mappings are not simultaneously also anonymous mappings.
> >
> > In order to support this infrastructure, a number of stubs must be
> > defined for all powerpc platforms. Additionally, seperate
> > set_pte_at()
> > and set_pte_at_unchecked(), to allow for internal, uninstrumented
> > mappings.
>
> Talking to Maddy about this off-list - given that this series touches
> on generic code and several architectures, would it be best to take it
> through the mm tree rather than powerpc?
Sure, I can do that.
Are the rest of the ppc team OK with these changes? I'm not seeing
much acking from the usual suspects?