Re: [tip: x86/urgent] x86/mm/pat: Fix effective RW computation in lookup_address_in_pgd_attr()
From: Nathan Chancellor
Date: Mon Sep 07 2026 - 18:31:09 EST
On Sun, Sep 06, 2026 at 12:12:54PM -0700, Dave Hansen wrote:
> On 9/6/26 11:12, Nathan Chancellor wrote:
> > Hmmm, I don't see a warning prior to this patch though. Do you mean that
> > this patch is just revealing the bad behavior that you mention below?
>
> Yeah, "fixes" was a bad word to use.
>
> The W^X detection has been broken for a while. The patch you bisected to
> fixes the W^X detection. It doesn't actually cause the issue.
Ah okay, that parses way better. I assume this will be sorted out
without further information needed from me but I am happy to test a
patch when available.
--
Cheers,
Nathan