[GIT PULL] hotfixes for 6.5

From: Andrew Morton
Date: Fri Aug 25 2023 - 14:11:52 EST



Linus, please merge this batch of hotfixes, thanks.


The following changes since commit 5f1fc67f2cb8d3035d3acd273b48b97835af8afd:

mm/damon/core: initialize damo_filter->list from damos_new_filter() (2023-08-04 13:03:43 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2023-08-25-11-07

for you to fetch changes up to e5548f85b4527c4c803b7eae7887c10bf8f90c97:

shmem: fix smaps BUG sleeping while atomic (2023-08-24 14:59:47 -0700)

----------------------------------------------------------------
18 hotfixes. 13 are cc:stable and the remainder pertain to post-6.4 issues
or aren't considered suitable for a -stable backport.

----------------------------------------------------------------
Alexandre Ghiti (1):
mm: add a call to flush_cache_vmap() in vmap_pfn()

Andre Przywara (2):
selftests: cachestat: test for cachestat availability
selftests: cachestat: catch failing fsync test on tmpfs

Arnd Bergmann (1):
radix tree: remove unused variable

Ayush Jain (1):
selftests/mm: FOLL_LONGTERM need to be updated to 0x100

David Hildenbrand (3):
mm/gup: reintroduce FOLL_NUMA as FOLL_HONOR_NUMA_FAULT
smaps: use vm_normal_page_pmd() instead of follow_trans_huge_pmd()
mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP-fast

Hugh Dickins (1):
shmem: fix smaps BUG sleeping while atomic

Liam R. Howlett (1):
maple_tree: disable mas_wr_append() when other readers are possible

Lucas Karpinski (1):
selftests: cgroup: fix test_kmem_basic less than error

Miaohe Lin (1):
mm: memory-failure: fix unexpected return value in soft_offline_page()

Ryusuke Konishi (1):
nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()

Suren Baghdasaryan (1):
mm: enable page walking API to lock vmas during the walk

T.J. Mercier (1):
mm: multi-gen LRU: don't spin during memcg release

Yin Fengwei (3):
madvise:madvise_cold_or_pageout_pte_range(): don't use mapcount() against large folio for sharing check
madvise:madvise_free_huge_pmd(): don't use mapcount() against large folio for sharing check
madvise:madvise_free_pte_range(): don't use mapcount() against large folio for sharing check

arch/powerpc/mm/book3s64/subpage_prot.c | 1 +
arch/riscv/mm/pageattr.c | 1 +
arch/s390/mm/gmap.c | 5 ++
fs/nilfs2/segment.c | 5 ++
fs/proc/task_mmu.c | 8 ++-
include/linux/huge_mm.h | 3 -
include/linux/mm.h | 21 ++++--
include/linux/mm_types.h | 9 +++
include/linux/pagewalk.h | 11 +++
lib/maple_tree.c | 7 ++
lib/radix-tree.c | 1 -
mm/damon/vaddr.c | 2 +
mm/gup.c | 30 ++++++--
mm/hmm.c | 1 +
mm/huge_memory.c | 5 +-
mm/internal.h | 17 +++++
mm/ksm.c | 25 ++++---
mm/madvise.c | 9 ++-
mm/memcontrol.c | 2 +
mm/memory-failure.c | 12 ++--
mm/mempolicy.c | 22 +++---
mm/migrate_device.c | 1 +
mm/mincore.c | 1 +
mm/mlock.c | 1 +
mm/mprotect.c | 1 +
mm/pagewalk.c | 36 +++++++++-
mm/shmem.c | 6 +-
mm/vmalloc.c | 4 ++
mm/vmscan.c | 14 ++--
tools/testing/selftests/cachestat/test_cachestat.c | 80 ++++++++++++++++++----
tools/testing/selftests/cgroup/test_kmem.c | 4 +-
tools/testing/selftests/mm/hmm-tests.c | 7 +-
32 files changed, 279 insertions(+), 73 deletions(-)