Commit afd661f6a264 for kernel

commit afd661f6a26438c407bd9928ea16e80c14b121d9
Merge: 05441d697f7f 19eab4cf787c
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Thu Nov 5 12:32:29 2026 -0800

    Merge tag 'mm-hotfixes-stable-2026-11-04-20-02' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

    Pull MM fixes from Andrew Morton:

     - "mm: avoid losing atomic VMA flags" (Lorenzo Stoakes):

       Preserve guard-page and soft-dirty state across VMA changes. Prevent
       fork and THP collapse from losing guard markers, and keep changes
       visible to applications which track modified memory.

     - "MAINTAINERS: MM updates" (David Hildenbrand):

       Start routing more MM components through mm/core.git and add Zi Yan
       as a THP co-maintainer. Update component coverage and integration
       branches as part of the transition to separate MM component trees.

     - "mm/hugetlb: fix mremap bugs" (Li Zhe):

       Fix hugetlb mremap deadlocks and truncated move lengths. Prevent
       userfaultfd poison markers from affecting other processes through
       shared hugetlb page tables.

     - "MAINTAINERS updates for page and slab allocators" (Vlastimil Babka):

       Add Johannes Weiner as a page allocator co-maintainer and update page
       and slab allocator entries for their component trees and integration
       through mm/linux.

     - "mm/damon: fix three race bugs in sysfs and core" (SJ Park):

       Serialize DAMOS tuning updates and stop monitoring contexts from
       sharing mutable state. Avoid interference between concurrent DAMON
       instances and incorrect auto-tuning.

     - "mm: page_alloc: fix reserve access for non-blocking requests"
       (Johannes Weiner):

       Stop ordinary non-blocking allocations from consuming reserves or
       bypassing watermarks. Avoid severe allocation stalls under memory
       pressure and preserve reserves for requests entitled to use them.

     - "mm/cma: accept memory of CMA areas reserved with memblock_reserve()"
       (Mike Rapoport):

       Accept memory in fixed-address and multi-range CMA reservations.
       Prevent fatal accesses to these pages in TDX and SEV-SNP guests.

     - Summary of singletons in this merge:

       Several fixes address crashes and unsafe memory access. Failed THP
       collapse now flushes stale translations before releasing pages which
       another collapse can free. A truncation race with MADV_DONTNEED could
       remove still-mapped shmem pages and hit a kernel BUG. Large-folio
       page-table scans no longer wrap addresses and crash near
       address-space boundaries. Hugetlb vmemmap optimization no longer
       causes write faults from racing reference-count operations.
       Memory-cgroup teardown is also protected against reclaim work
       accessing released state.

       KSM now preserves userfaultfd protection during merging and
       unmerging, and retains soft-dirty information needed by incremental
       memory dumpers. Reads of /proc/PID/maps and related files no longer
       omit continuously mapped ranges during concurrent VMA changes. There
       are also fixes for expanding mixed mappings with mremap() and
       querying NUMA placement with tagged addresses. Swapoff checks for
       signals while processing large address spaces and shmem files, so it
       can be interrupted without holding up suspend until the whole object
       is read.

       Costly allocations with cheap smaller-order fallbacks avoid direct
       reclaim and compaction. Reported arm64 PostgreSQL tests improved from
       58,602 to 157,246 transactions per second with defrag_mode disabled;
       this addresses a buffered-write regression under fragmentation.
       Background reclaim can recover on the highest-numbered memory node
       after it has given up, and 32-bit writeback threshold calculations no
       longer overflow and assign incorrect dirty-memory limits.

    * tag 'mm-hotfixes-stable-2026-11-04-20-02' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (43 commits)
      MAINTAINERS: move SLAB ALLOCATOR under MEMORY MANAGEMENT
      MAINTAINERS: add Johannes as the page allocator co-maintainer
      MAINTAINERS: route more MM changes through mm/core.git
      MAINTAINERS: rename and move MEMORY HOT(UN)PLUG
      MAINTAINERS: add missing files to MM component sections
      MAINTAINERS: sort entries in MM sections
      MAINTAINERS: add Zi Yan as co-maintainer for MEMORY MANAGEMENT - THP
      MAINTAINERS: TMPFS (SHMEM FILESYSTEM) updates
      MAINTAINERS: mention for-next branch in MEMORY MANAGEMENT - MEMORY MAP
      mm: memcontrol: fix NULL pointer deref and UAF from high_work_func() on dying memcg
      mm/cma: accept memory of CMA areas reserved at a fixed address
      mm/cma: accept memory of multi-range CMA areas
      mm/page_alloc: avoid direct reclaim and compaction for costly __GFP_NORETRY allocations
      mm: page_alloc: remove ALLOC_NON_BLOCK from ALLOC_RESERVES
      mm: page_alloc: do not give all non-blocking requests reserve access
      mm/hugetlb_vmemmap: map the shared tail page writable
      fs/proc/task_mmu: fix missed VMAs when reading /proc/PID/maps and friends
      selftests/mm: fix khugepaged_race build with older glibc
      mm/vma: update VMA iterator state on error in new VMA merge
      mm/migrate: snapshot the source nid before the misplaced migration
      ...