Re: [tip: x86/urgent] x86/mm/pat: Fix effective RW computation in lookup_address_in_pgd_attr()

From: Mike Rapoport

Date: Tue Sep 08 2026 - 05:58:59 EST


Hi Nathan,

On Mon, Sep 07, 2026 at 03:28:13PM -0700, Nathan Chancellor wrote:
> 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.

Here:

https://lore.kernel.org/all/20260908092730.4002628-1-rppt@xxxxxxxxxx/T/#u

> --
> Cheers,
> Nathan

--
Sincerely yours,
Mike.