- almost all of the rest of -mm - various other subsystems 76 patches, based on 351c8a09b00b5c51c8f58b016fffe51f87e2d820: Subsystems affected by this patch series: memcg misc core-kernel lib checkpatch reiserfs fat fork cpumask kexec uaccess kconfig kgdb bug ipc lzo kasan madvise cleanups pagemap Subsystem: memcg Michal Hocko <mhocko@xxxxxxxx>: memcg, kmem: do not fail __GFP_NOFAIL charges Subsystem: misc Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>: linux/coff.h: add include guard Subsystem: core-kernel Valdis Kletnieks <valdis.kletnieks@xxxxxx>: kernel/elfcore.c: include proper prototypes Subsystem: lib Michel Lespinasse <walken@xxxxxxxxxx>: rbtree: avoid generating code twice for the cached versions (tools copy) Patch series "make RB_DECLARE_CALLBACKS more generic", v3: augmented rbtree: add comments for RB_DECLARE_CALLBACKS macro augmented rbtree: add new RB_DECLARE_CALLBACKS_MAX macro augmented rbtree: rework the RB_DECLARE_CALLBACKS macro definition Joe Perches <joe@xxxxxxxxxxx>: kernel-doc: core-api: include string.h into core-api Qian Cai <cai@xxxxxx>: include/trace/events/writeback.h: fix -Wstringop-truncation warnings Kees Cook <keescook@xxxxxxxxxxxx>: strscpy: reject buffer sizes larger than INT_MAX Valdis Kletnieks <valdis.kletnieks@xxxxxx>: lib/generic-radix-tree.c: make 2 functions static inline lib/extable.c: add missing prototypes Stephen Boyd <swboyd@xxxxxxxxxxxx>: lib/hexdump: make print_hex_dump_bytes() a nop on !DEBUG builds Subsystem: checkpatch Joe Perches <joe@xxxxxxxxxxx>: checkpatch: don't interpret stack dumps as commit IDs checkpatch: improve SPDX license checking Matteo Croce <mcroce@xxxxxxxxxx>: checkpatch.pl: warn on invalid commit id Brendan Jackman <brendan.jackman@xxxxxxxxxxxxxxxxx>: checkpatch: exclude sizeof sub-expressions from MACRO_ARG_REUSE Joe Perches <joe@xxxxxxxxxxx>: checkpatch: prefer __section over __attribute__((section(...))) checkpatch: allow consecutive close braces Sean Christopherson <sean.j.christopherson@xxxxxxxxx>: checkpatch: remove obsolete period from "ambiguous SHA1" query Joe Perches <joe@xxxxxxxxxxx>: checkpatch: make git output use LANGUAGE=en_US.utf8 Subsystem: reiserfs Jia-Ju Bai <baijiaju1990@xxxxxxxxx>: fs: reiserfs: remove unnecessary check of bh in remove_from_transaction() zhengbin <zhengbin13@xxxxxxxxxx>: fs/reiserfs/journal.c: remove set but not used variables fs/reiserfs/stree.c: remove set but not used variables fs/reiserfs/lbalance.c: remove set but not used variables fs/reiserfs/objectid.c: remove set but not used variables fs/reiserfs/prints.c: remove set but not used variables fs/reiserfs/fix_node.c: remove set but not used variables fs/reiserfs/do_balan.c: remove set but not used variables Jason Yan <yanaijie@xxxxxxxxxx>: fs/reiserfs/journal.c: remove set but not used variable fs/reiserfs/do_balan.c: remove set but not used variable Subsystem: fat Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>: fat: delete an unnecessary check before brelse() Subsystem: fork Sai Praneeth Prakhya <sai.praneeth.prakhya@xxxxxxxxx>: fork: improve error message for corrupted page tables Subsystem: cpumask Alexey Dobriyan <adobriyan@xxxxxxxxx>: cpumask: nicer for_each_cpumask_and() signature Subsystem: kexec Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>: kexec: bail out upon SIGKILL when allocating memory. Vasily Gorbik <gor@xxxxxxxxxxxxx>: kexec: restore arch_kexec_kernel_image_probe declaration Subsystem: uaccess Kees Cook <keescook@xxxxxxxxxxxx>: uaccess: add missing __must_check attributes Subsystem: kconfig Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>: compiler: enable CONFIG_OPTIMIZE_INLINING forcibly Subsystem: kgdb Douglas Anderson <dianders@xxxxxxxxxxxx>: kgdb: don't use a notifier to enter kgdb at panic; call directly scripts/gdb: handle split debug Subsystem: bug Kees Cook <keescook@xxxxxxxxxxxx>: Patch series "Clean up WARN() "cut here" handling", v2: bug: refactor away warn_slowpath_fmt_taint() bug: rename __WARN_printf_taint() to __WARN_printf() bug: consolidate warn_slowpath_fmt() usage bug: lift "cut here" out of __warn() bug: clean up helper macros to remove __WARN_TAINT() bug: consolidate __WARN_FLAGS usage bug: move WARN_ON() "cut here" into exception handler Subsystem: ipc Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>: ipc/mqueue.c: delete an unnecessary check before the macro call dev_kfree_skb() ipc/mqueue: improve exception handling in do_mq_notify() "Joel Fernandes (Google)" <joel@xxxxxxxxxxxxxxxxx>: ipc/sem.c: convert to use built-in RCU list checking Subsystem: lzo Dave Rodgman <dave.rodgman@xxxxxxx>: lib/lzo/lzo1x_compress.c: fix alignment bug in lzo-rle Subsystem: kasan Andrey Konovalov <andreyknvl@xxxxxxxxxx>: Patch series "arm64: untag user pointers passed to the kernel", v19: lib: untag user pointers in strn*_user mm: untag user pointers passed to memory syscalls mm: untag user pointers in mm/gup.c mm: untag user pointers in get_vaddr_frames fs/namespace: untag user pointers in copy_mount_options userfaultfd: untag user pointers drm/amdgpu: untag user pointers drm/radeon: untag user pointers in radeon_gem_userptr_ioctl media/v4l2-core: untag user pointers in videobuf_dma_contig_user_get tee/shm: untag user pointers in tee_shm_register vfio/type1: untag user pointers in vaddr_get_pfn Catalin Marinas <catalin.marinas@xxxxxxx>: mm: untag user pointers in mmap/munmap/mremap/brk Subsystem: madvise Minchan Kim <minchan@xxxxxxxxxx>: Patch series "Introduce MADV_COLD and MADV_PAGEOUT", v7: mm: introduce MADV_COLD mm: change PAGEREF_RECLAIM_CLEAN with PAGE_REFRECLAIM mm: introduce MADV_PAGEOUT mm: factor out common parts between MADV_COLD and MADV_PAGEOUT Subsystem: cleanups Mike Rapoport <rppt@xxxxxxxxxxxxx>: hexagon: drop empty and unused free_initrd_mem Denis Efremov <efremov@xxxxxxxxx>: checkpatch: check for nested (un)?likely() calls xen/events: remove unlikely() from WARN() condition fs: remove unlikely() from WARN_ON() condition wimax/i2400m: remove unlikely() from WARN*() condition xfs: remove unlikely() from WARN_ON() condition IB/hfi1: remove unlikely() from IS_ERR*() condition ntfs: remove (un)?likely() from IS_ERR() conditions Subsystem: pagemap Mark Rutland <mark.rutland@xxxxxxx>: mm: treewide: clarify pgtable_page_{ctor,dtor}() naming Documentation/core-api/kernel-api.rst | 3 Documentation/vm/split_page_table_lock.rst | 10 arch/alpha/include/uapi/asm/mman.h | 3 arch/arc/include/asm/pgalloc.h | 4 arch/arm/include/asm/tlb.h | 2 arch/arm/mm/mmu.c | 2 arch/arm64/include/asm/tlb.h | 2 arch/arm64/mm/mmu.c | 2 arch/csky/include/asm/pgalloc.h | 2 arch/hexagon/include/asm/pgalloc.h | 2 arch/hexagon/mm/init.c | 13 arch/m68k/include/asm/mcf_pgalloc.h | 6 arch/m68k/include/asm/motorola_pgalloc.h | 6 arch/m68k/include/asm/sun3_pgalloc.h | 2 arch/mips/include/asm/pgalloc.h | 2 arch/mips/include/uapi/asm/mman.h | 3 arch/nios2/include/asm/pgalloc.h | 2 arch/openrisc/include/asm/pgalloc.h | 6 arch/parisc/include/uapi/asm/mman.h | 3 arch/powerpc/mm/pgtable-frag.c | 6 arch/riscv/include/asm/pgalloc.h | 2 arch/s390/mm/pgalloc.c | 6 arch/sh/include/asm/pgalloc.h | 2 arch/sparc/include/asm/pgtable_64.h | 5 arch/sparc/mm/init_64.c | 4 arch/sparc/mm/srmmu.c | 4 arch/um/include/asm/pgalloc.h | 2 arch/unicore32/include/asm/tlb.h | 2 arch/x86/mm/pat_rbtree.c | 19 arch/x86/mm/pgtable.c | 2 arch/xtensa/include/asm/pgalloc.h | 4 arch/xtensa/include/uapi/asm/mman.h | 3 drivers/block/drbd/drbd_interval.c | 29 - drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 drivers/gpu/drm/radeon/radeon_gem.c | 2 drivers/infiniband/hw/hfi1/verbs.c | 2 drivers/media/v4l2-core/videobuf-dma-contig.c | 9 drivers/net/wimax/i2400m/tx.c | 3 drivers/tee/tee_shm.c | 1 drivers/vfio/vfio_iommu_type1.c | 2 drivers/xen/events/events_base.c | 2 fs/fat/dir.c | 4 fs/namespace.c | 2 fs/ntfs/mft.c | 12 fs/ntfs/namei.c | 2 fs/ntfs/runlist.c | 2 fs/ntfs/super.c | 2 fs/open.c | 2 fs/reiserfs/do_balan.c | 15 fs/reiserfs/fix_node.c | 6 fs/reiserfs/journal.c | 22 fs/reiserfs/lbalance.c | 3 fs/reiserfs/objectid.c | 3 fs/reiserfs/prints.c | 3 fs/reiserfs/stree.c | 4 fs/userfaultfd.c | 22 fs/xfs/xfs_buf.c | 4 include/asm-generic/bug.h | 71 +- include/asm-generic/pgalloc.h | 8 include/linux/cpumask.h | 14 include/linux/interval_tree_generic.h | 22 include/linux/kexec.h | 2 include/linux/kgdb.h | 2 include/linux/mm.h | 4 include/linux/mm_types_task.h | 4 include/linux/printk.h | 22 include/linux/rbtree_augmented.h | 114 +++- include/linux/string.h | 5 include/linux/swap.h | 2 include/linux/thread_info.h | 2 include/linux/uaccess.h | 21 include/trace/events/writeback.h | 38 - include/uapi/asm-generic/mman-common.h | 3 include/uapi/linux/coff.h | 5 ipc/mqueue.c | 22 ipc/sem.c | 3 kernel/debug/debug_core.c | 31 - kernel/elfcore.c | 1 kernel/fork.c | 16 kernel/kexec_core.c | 2 kernel/panic.c | 48 - lib/Kconfig.debug | 4 lib/bug.c | 11 lib/extable.c | 1 lib/generic-radix-tree.c | 4 lib/hexdump.c | 21 lib/lzo/lzo1x_compress.c | 14 lib/rbtree_test.c | 37 - lib/string.c | 12 lib/strncpy_from_user.c | 3 lib/strnlen_user.c | 3 mm/frame_vector.c | 2 mm/gup.c | 4 mm/internal.h | 2 mm/madvise.c | 562 ++++++++++++++++------- mm/memcontrol.c | 10 mm/mempolicy.c | 3 mm/migrate.c | 2 mm/mincore.c | 2 mm/mlock.c | 4 mm/mmap.c | 34 - mm/mprotect.c | 2 mm/mremap.c | 13 mm/msync.c | 2 mm/oom_kill.c | 2 mm/swap.c | 42 + mm/vmalloc.c | 5 mm/vmscan.c | 62 ++ scripts/checkpatch.pl | 69 ++ scripts/gdb/linux/symbols.py | 4 tools/include/linux/rbtree.h | 71 +- tools/include/linux/rbtree_augmented.h | 145 +++-- tools/lib/rbtree.c | 37 - 114 files changed, 1195 insertions(+), 754 deletions(-)