Re: [PATCH v2] x86/mm: Fix PAT bit missing from page protection modify mask

From: Dave Hansen
Date: Wed Jun 07 2023 - 11:31:36 EST


On 6/7/23 08:23, Janusz Krzysztofik wrote:
>
> Extend bitmask used by pgprot_modify() for selecting bits to be preserved
> with _PAGE_PAT bit. However, since that bit can be reused as _PAGE_PSE,
> and the _PAGE_CHG_MASK symbol, primarly used by pte_modify(), is likely
> intentionally defined with that bit not set, keep that symbol unchanged.

I'm really having a hard time parsing what that last sentence is saying.

Could you try again, please?