[GIT PULL] x86/mm for 7.4-rc1
From: Dave Hansen
Date: Mon Oct 19 2026 - 14:00:46 EST
Hi Linus,
Please pull some x86/mm changes for 7.4-rc1. The __add_pages() and
pgd_clear() ones are pretty mundane.
But the W^X ones are worth calling out. Effectively, the checks that
were supposed to be looking out for Write+Exec permission mappings
were busted. This fixes them, so we should all be on the lookout for
new warnings, both false positives and real ones.
--
The following changes since commit df2908090cda368b01ff43709f51890076c56157:
Linux 7.3-rc2 (2026-09-06 15:07:20 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_mm_for_7.4-rc1
for you to fetch changes up to d92b5ac5aeba1ffc734576e30a5bca882722de76:
x86/mm: Fix spurious warning on __add_pages() failure (2026-10-01 05:04:44 -0700)
----------------------------------------------------------------
- Fix void/int conditional in pgd_clear()
- Fix spurious warning on __add_pages() failure
- Make W^X detection actually work
----------------------------------------------------------------
Jose A. Perez de Azpillaga (1):
x86/mm: Fix void/int conditional in pgd_clear()
Lance Yang (1):
x86/mm: Fix spurious warning on __add_pages() failure
Mike Rapoport (Microsoft) (2):
x86/mm/pat: Fix effective RW computation in lookup_address_in_pgd_attr()
x86/mm/pat: Use pr_warn() for early W^X warnings
arch/x86/include/asm/pgtable.h | 6 +++++-
arch/x86/mm/init_64.c | 3 ++-
arch/x86/mm/pat/set_memory.c | 23 +++++++++++++++++++----
3 files changed, 26 insertions(+), 6 deletions(-)