Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2022 00:53:04 +0000 (17:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2022 00:53:04 +0000 (17:53 -0700)
commit27bc50fc90647bbf7b734c3fc306a5e61350da53
tree75fc525fbfec8c07a97a7875a89592317bcad4ca
parent70442fc54e6889a2a77f0e9554e8188a1557f00e
parentbbff39cc6cbcb86ccfacb2dcafc79912a9f9df69
Merge tag 'mm-stable-2022-10-08' of git://git./linux/kernel/git/akpm/mm

Pull MM updates from Andrew Morton:

 - Yu Zhao's Multi-Gen LRU patches are here. They've been under test in
   linux-next for a couple of months without, to my knowledge, any
   negative reports (or any positive ones, come to that).

 - Also the Maple Tree from Liam Howlett. An overlapping range-based
   tree for vmas. It it apparently slightly more efficient in its own
   right, but is mainly targeted at enabling work to reduce mmap_lock
   contention.

   Liam has identified a number of other tree users in the kernel which
   could be beneficially onverted to mapletrees.

   Yu Zhao has identified a hard-to-hit but "easy to fix" lockdep splat
   at [1]. This has yet to be addressed due to Liam's unfortunately
   timed vacation. He is now back and we'll get this fixed up.

 - Dmitry Vyukov introduces KMSAN: the Kernel Memory Sanitizer. It uses
   clang-generated instrumentation to detect used-unintialized bugs down
   to the single bit level.

   KMSAN keeps finding bugs. New ones, as well as the legacy ones.

 - Yang Shi adds a userspace mechanism (madvise) to induce a collapse of
   memory into THPs.

 - Zach O'Keefe has expanded Yang Shi's madvise(MADV_COLLAPSE) to
   support file/shmem-backed pages.

 - userfaultfd updates from Axel Rasmussen

 - zsmalloc cleanups from Alexey Romanov

 - cleanups from Miaohe Lin: vmscan, hugetlb_cgroup, hugetlb and
   memory-failure

 - Huang Ying adds enhancements to NUMA balancing memory tiering mode's
   page promotion, with a new way of detecting hot pages.

 - memcg updates from Shakeel Butt: charging optimizations and reduced
   memory consumption.

 - memcg cleanups from Kairui Song.

 - memcg fixes and cleanups from Johannes Weiner.

 - Vishal Moola provides more folio conversions

 - Zhang Yi removed ll_rw_block() :(

 - migration enhancements from Peter Xu

 - migration error-path bugfixes from Huang Ying

 - Aneesh Kumar added ability for a device driver to alter the memory
   tiering promotion paths. For optimizations by PMEM drivers, DRM
   drivers, etc.

 - vma merging improvements from Jakub MatÄ›n.

 - NUMA hinting cleanups from David Hildenbrand.

 - xu xin added aditional userspace visibility into KSM merging
   activity.

 - THP & KSM code consolidation from Qi Zheng.

 - more folio work from Matthew Wilcox.

 - KASAN updates from Andrey Konovalov.

 - DAMON cleanups from Kaixu Xia.

 - DAMON work from SeongJae Park: fixes, cleanups.

 - hugetlb sysfs cleanups from Muchun Song.

 - Mike Kravetz fixes locking issues in hugetlbfs and in hugetlb core.

Link: https://lkml.kernel.org/r/CAOUHufZabH85CeUN-MEMgL8gJGzJEWUrkiM58JkTbBhh-jew0Q@mail.gmail.com
* tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (555 commits)
  hugetlb: allocate vma lock for all sharable vmas
  hugetlb: take hugetlb vma_lock when clearing vma_lock->vma pointer
  hugetlb: fix vma lock handling during split vma and range unmapping
  mglru: mm/vmscan.c: fix imprecise comments
  mm/mglru: don't sync disk for each aging cycle
  mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol
  mm: memcontrol: use do_memsw_account() in a few more places
  mm: memcontrol: deprecate swapaccounting=0 mode
  mm: memcontrol: don't allocate cgroup swap arrays when memcg is disabled
  mm/secretmem: remove reduntant return value
  mm/hugetlb: add available_huge_pages() func
  mm: remove unused inline functions from include/linux/mm_inline.h
  selftests/vm: add selftest for MADV_COLLAPSE of uffd-minor memory
  selftests/vm: add file/shmem MADV_COLLAPSE selftest for cleared pmd
  selftests/vm: add thp collapse shmem testing
  selftests/vm: add thp collapse file and tmpfs testing
  selftests/vm: modularize thp collapse memory operations
  selftests/vm: dedup THP helpers
  mm/khugepaged: add tracepoint to hpage_collapse_scan_file()
  mm/madvise: add file and shmem support to MADV_COLLAPSE
  ...
104 files changed:
Documentation/admin-guide/kernel-parameters.txt
Documentation/admin-guide/mm/damon/usage.rst
Documentation/core-api/index.rst
MAINTAINERS
Makefile
arch/Kconfig
arch/arm/Kconfig
arch/arm/configs/imx_v6_v7_defconfig
arch/arm/configs/milbeaut_m10v_defconfig
arch/arm/configs/oxnas_v6_defconfig
arch/arm/configs/pxa_defconfig
arch/arm/configs/sama7_defconfig
arch/arm/configs/sp7021_defconfig
arch/arm64/Kconfig
arch/arm64/kernel/vdso.c
arch/loongarch/Kconfig
arch/m68k/Kconfig.cpu
arch/mips/Kconfig
arch/mips/configs/db1xxx_defconfig
arch/powerpc/Kconfig
arch/powerpc/configs/85xx/ge_imp3a_defconfig
arch/powerpc/configs/powernv_defconfig
arch/powerpc/configs/pseries_defconfig
arch/powerpc/kernel/vdso.c
arch/x86/Kconfig
arch/x86/entry/vdso/Makefile
arch/x86/include/asm/uaccess.h
arch/x86/kernel/Makefile
arch/x86/kernel/dumpstack.c
arch/x86/mm/fault.c
arch/x86/mm/init_64.c
block/bio.c
block/blk.h
crypto/Kconfig
drivers/base/node.c
drivers/block/zram/zram_drv.c
drivers/firmware/efi/efi.c
drivers/firmware/efi/libstub/Makefile
drivers/net/Kconfig
drivers/virtio/virtio_ring.c
fs/btrfs/compression.c
fs/btrfs/extent_io.c
fs/btrfs/tests/extent-io-tests.c
fs/buffer.c
fs/coredump.c
fs/exec.c
fs/jbd2/journal.c
fs/jbd2/recovery.c
fs/namei.c
fs/ntfs3/inode.c
fs/posix_acl.c
fs/proc/base.c
fs/reiserfs/super.c
fs/userfaultfd.c
include/linux/buffer_head.h
include/linux/cgroup.h
include/linux/compiler-clang.h
include/linux/compiler_types.h
include/linux/fortify-string.h
include/linux/hugetlb.h
include/linux/memcontrol.h
include/linux/mmzone.h
include/linux/nodemask.h
include/linux/pagemap.h
include/linux/rmap.h
include/linux/sched.h
include/linux/slab.h
init/Kconfig
init/main.c
kernel/bpf/core.c
kernel/bpf/task_iter.c
kernel/cgroup/cgroup-internal.h
kernel/dma/mapping.c
kernel/events/core.c
kernel/exit.c
kernel/fork.c
kernel/sched/core.c
kernel/sched/debug.c
kernel/sched/fair.c
kernel/sched/sched.h
kernel/sysctl.c
lib/Kconfig.debug
lib/Makefile
mm/Kconfig
mm/compaction.c
mm/damon/sysfs.c
mm/filemap.c
mm/kfence/core.c
mm/khugepaged.c
mm/memcontrol.c
mm/page_alloc.c
mm/pagewalk.c
mm/rmap.c
mm/slab.h
mm/slab_common.c
mm/slub.c
mm/swapfile.c
mm/util.c
mm/vmstat.c
scripts/Makefile.lib
security/Kconfig.hardening
tools/objtool/check.c
tools/testing/selftests/vm/Makefile
tools/testing/selftests/vm/hmm-tests.c