x86/mm for 7.3-rc1
Hi Linus,
Please pull some x86/mm changes for 7.3-rc1.
There are two things in here of note. First, there are fixes to reduce the time that the TLB flushing code sits around with interrupts disabled. It should be well tested, but it's certainly something to keep an eye on.
Second is a little back-and-forth in the interactions between the set_memory*() locking and DEBUG_PAGEALLOC. There was a slightly painful re-discovery of why DEBUG_PAGEALLOC has special locking rules, but the code did end up better for it.
--
The following changes since commit 8cdeaa50eae8dad34885515f62559ee83e7e8dda:
Linux 7.2-rc2 (2026-07-05 14:44:06 -1000)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_mm_for_7.3-rc1
for you to fetch changes up to dee87e09b0dd63da9b1e1876167ccae37842dfd0:
x86/pkeys: Fix pkey_alloc() return value when pkeys are not supported (2026-08-13 10:18:58 -0700)
----------------------------------------------------------------
* Fix pkey_alloc() return value when pkeys are not supported
* Allow preemption during IPI completion waiting to improve wakeup latency
* Convert more x86 page table code to ptdescs
* Fixes and cleanups for set_memory*() locking, mostly around large pages
----------------------------------------------------------------
Bijan Tabatabai (1):
x86/pkeys: Fix pkey_alloc() return value when pkeys are not supported
Chuyi Zhou (5):
x86/mm: Factor out flush_tlb_info initialization x86/mm: Cap flush_tlb_info alignment at 64 bytes x86/mm: Move flush_tlb_info back to the stack x86/kvm: Disable preemption in kvm_flush_tlb_multi() x86/mm: Re-enable preemption before flush_tlb_multi()
Denis V. Lunev (1):
x86/mm/pat: Take cpa_lock around large-page collapse
Mike Rapoport (Microsoft) (1):
x86/mm/pat: Don't gate cpa_lock on debug_pagealloc_enabled()
Peter Zijlstra (3):
x86/mm: Use guard() in cpa_collapse_large_pages() x86/mm: Use guard() for pgd_lock
x86/mm: Fix and document DEBUG_PAGEALLOC
Vishal Moola (9):
x86/mm/pat: Use IS_ENABLED() instead of ifdef x86/mm/pat: Convert __set_pmd_pte() to ptdescs x86/mm/pat: Convert collapse_pmd_page() to ptdescs x86/mm: Convert arch_sync_kernel_mappings() to ptdescs x86/mm: Convert sync_global_pgds_l5() to ptdescs x86/mm: Convert sync_global_pgds_l4() to ptdescs x86/mm: Convert pgd_page_get_mm() to ptdescs x86/xen: Convert xen_mm_pin_all() to ptdescs x86/xen: Convert xen_mm_unpin_all() to ptdescs
arch/x86/include/asm/pgtable.h | 2 +- arch/x86/include/asm/pgtable_types.h | 2 +- arch/x86/include/asm/pkeys.h | 3 + arch/x86/include/asm/tlbflush.h | 9 ++- arch/x86/kernel/kvm.c | 4 +- arch/x86/mm/fault.c | 8 +- arch/x86/mm/init_64.c | 16 ++-- arch/x86/mm/pat/set_memory.c | 148 ++++++++++++++++++++--------------- arch/x86/mm/pgtable.c | 4 +- arch/x86/mm/tlb.c | 98 +++++++++-------------- arch/x86/xen/mmu_pv.c | 22 +++--- 11 files changed, 162 insertions(+), 154 deletions(-)
The pull request you sent on Tue, 18 Aug 2026 08:25:03 -0700:
The pull request you sent on Tue, 18 Aug 2026 08:25:03 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_mm_for_7.3-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b126f6f5940f614cc06bba61c77dec2d75e8ceaf
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html
The pull request you sent on Tue, 18 Aug 2026 08:25:03 -0700:
The pull request you sent on Tue, 18 Aug 2026 08:25:03 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_mm_for_7.3-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b126f6f5940f614cc06bba61c77dec2d75e8ceaf
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html