[GIT PULL] hotfixes for 6.1-rc8

From: Andrew Morton
Date: Fri Dec 02 2022 - 14:26:19 EST



Linus, please merge up this batch of fixes, thanks.

The following changes since commit de3db3f883a82c4800f4af0ae2cc3b96a408ee9b:

test_kprobes: fix implicit declaration error of test_kprobes (2022-11-22 18:50:45 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2022-12-02

for you to fetch changes up to 1d351f1894342c378b96bb9ed89f8debb1e24e9f:

revert "kbuild: fix -Wimplicit-function-declaration in license_is_gpl_compatible" (2022-11-30 14:49:42 -0800)

----------------------------------------------------------------
15 hotfixes. 11 marked cc:stable. Only three or four of the latter
address post-6.0 issues, which is hopefully a sign that things are
converging.

----------------------------------------------------------------
Andrew Morton (1):
revert "kbuild: fix -Wimplicit-function-declaration in license_is_gpl_compatible"

Gavin Shan (1):
mm: migrate: fix THP's mapcount on isolation

Jann Horn (3):
mm/khugepaged: take the right locks for page table retraction
mm/khugepaged: fix GUP-fast interaction by sending IPI
mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths

Juergen Gross (2):
mm: add dummy pmd_young() for architectures not having it
mm: introduce arch_has_hw_nonleaf_pmd_young()

Lee Jones (2):
drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame
Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled

Mike Kravetz (2):
madvise: use zap_page_range_single for madvise dontneed
hugetlb: don't delete vma_lock in hugetlb MADV_DONTNEED processing

SeongJae Park (1):
mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes()

Tiezhu Yang (1):
tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"

Yang Shi (1):
mm: replace VM_WARN_ON to pr_warn if the node is offline with __GFP_THISNODE

ZhangPeng (1):
nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()

arch/loongarch/include/asm/pgtable.h | 1 +
arch/mips/include/asm/pgtable.h | 1 +
arch/riscv/include/asm/pgtable.h | 1 +
arch/s390/include/asm/pgtable.h | 1 +
arch/sparc/include/asm/pgtable_64.h | 1 +
arch/x86/include/asm/pgtable.h | 9 ++++++
drivers/gpu/drm/amd/display/Kconfig | 7 ++++
fs/nilfs2/dat.c | 7 ++++
include/asm-generic/tlb.h | 4 +++
include/linux/gfp.h | 18 +++++++++--
include/linux/license.h | 2 --
include/linux/mm.h | 29 ++++++++++++-----
include/linux/pgtable.h | 18 +++++++++++
lib/Kconfig.debug | 1 +
mm/compaction.c | 22 ++++++-------
mm/damon/sysfs.c | 46 ++++++++++++++++++++++++--
mm/hugetlb.c | 27 +++++++++-------
mm/khugepaged.c | 62 +++++++++++++++++++++++++++++++++---
mm/madvise.c | 6 ++--
mm/memory.c | 25 +++++++--------
mm/mmu_gather.c | 4 +--
mm/vmscan.c | 10 +++---
tools/vm/slabinfo-gnuplot.sh | 4 +--
23 files changed, 240 insertions(+), 66 deletions(-)