[GIT PULL] hotfixes against 6.10-rc7

From: Andrew Morton
Date: Wed Jul 10 2024 - 16:23:40 EST



Linus, please merge this batch of hotfixes, thanks.



The following changes since commit 93aef9eda1cea9e84ab2453fcceb8addad0e46f1:

nilfs2: fix incorrect inode allocation from reserved inodes (2024-07-03 12:29:25 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-07-10-13-19

for you to fetch changes up to f708f6970cc9d6bac71da45c129482092e710537:

mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folio (2024-07-09 15:41:11 -0700)

----------------------------------------------------------------
21 hotfixes, 15 of which are cc:stable.

No identifiable theme here - all are singleton patches, 19 are for MM.

----------------------------------------------------------------
Audra Mitchell (1):
Fix userfaultfd_api to return EINVAL as expected

Gavin Shan (4):
mm/filemap: make MAX_PAGECACHE_ORDER acceptable to xarray
mm/readahead: limit page cache size in page_cache_ra_order()
mm/filemap: skip to create PMD-sized page cache if needed
mm/shmem: disable PMD-sized page cache if needed

Hugh Dickins (1):
mm: fix crashes from deferred split racing folio migration

Lorenzo Stoakes (1):
MAINTAINERS: mailmap: update Lorenzo Stoakes's email address

Miaohe Lin (2):
mm/hugetlb: fix potential race in __update_and_free_hugetlb_folio()
mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folio

Nhat Pham (1):
cachestat: do not flush stats in recency check

Paul Menzel (1):
lib/build_OID_registry: avoid non-destructive substitution for Perl < 5.13.2 compat

Ryusuke Konishi (1):
nilfs2: fix kernel bug on rename operation of broken directory

SeongJae Park (1):
mm/damon/core: merge regions aggressively when max_nr_regions is unmet

Suren Baghdasaryan (2):
sched.h: always_inline alloc_tag_{save|restore} to fix modpost warnings
arch/xtensa: always_inline get_current() and current_thread_info()

Uladzislau Rezki (Sony) (1):
mm: vmalloc: check if a hash-index is in cpu_possible_mask

Waiman Long (1):
mm: prevent derefencing NULL ptr in pfn_section_valid()

Yang Shi (2):
mm: page_ref: remove folio_try_get_rcu()
mm: gup: stop abusing try_grab_folio

Yu Zhao (1):
mm/hugetlb_vmemmap: fix race with speculative PFN walkers

ZhangPeng (1):
filemap: replace pte_offset_map() with pte_offset_map_nolock()

.mailmap | 1 +
MAINTAINERS | 2 +-
arch/xtensa/include/asm/current.h | 2 +-
arch/xtensa/include/asm/thread_info.h | 2 +-
fs/nilfs2/dir.c | 32 +++-
fs/userfaultfd.c | 7 +-
include/linux/mmzone.h | 3 +-
include/linux/page_ref.h | 57 ++-----
include/linux/pagemap.h | 11 +-
include/linux/sched.h | 4 +-
include/linux/swap.h | 3 +-
lib/build_OID_registry | 4 +-
mm/damon/core.c | 23 ++-
mm/filemap.c | 20 ++-
mm/gup.c | 291 ++++++++++++++++++----------------
mm/huge_memory.c | 2 +-
mm/hugetlb.c | 70 ++------
mm/hugetlb_vmemmap.c | 16 ++
mm/internal.h | 4 +-
mm/memcontrol.c | 11 --
mm/migrate.c | 13 ++
mm/readahead.c | 8 +-
mm/shmem.c | 15 +-
mm/vmalloc.c | 10 +-
mm/workingset.c | 14 +-
25 files changed, 339 insertions(+), 286 deletions(-)