# git rev-parse -q --verify 61307b7be41a1f1039d1d1368810a1d92cb97b44^{commit} 61307b7be41a1f1039d1d1368810a1d92cb97b44 already have revision, skipping fetch # git checkout -q -f -B kisskb 61307b7be41a1f1039d1d1368810a1d92cb97b44 # git clean -qxdf # < git log -1 # commit 61307b7be41a1f1039d1d1368810a1d92cb97b44 # Merge: 0450d2083be6 76edc534cc28 # Author: Linus Torvalds # Date: Sun May 19 09:21:03 2024 -0700 # # Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm # # Pull mm updates from Andrew Morton: # "The usual shower of singleton fixes and minor series all over MM, # documented (hopefully adequately) in the respective changelogs. # Notable series include: # # - Lucas Stach has provided some page-mapping cleanup/consolidation/ # maintainability work in the series "mm/treewide: Remove pXd_huge() # API". # # - In the series "Allow migrate on protnone reference with # MPOL_PREFERRED_MANY policy", Donet Tom has optimized mempolicy's # MPOL_PREFERRED_MANY mode, yielding almost doubled performance in # one test. # # - In their series "Memory allocation profiling" Kent Overstreet and # Suren Baghdasaryan have contributed a means of determining (via # /proc/allocinfo) whereabouts in the kernel memory is being # allocated: number of calls and amount of memory. # # - Matthew Wilcox has provided the series "Various significant MM # patches" which does a number of rather unrelated things, but in # largely similar code sites. # # - In his series "mm: page_alloc: freelist migratetype hygiene" # Johannes Weiner has fixed the page allocator's handling of # migratetype requests, with resulting improvements in compaction # efficiency. # # - In the series "make the hugetlb migration strategy consistent" # Baolin Wang has fixed a hugetlb migration issue, which should # improve hugetlb allocation reliability. # # - Liu Shixin has hit an I/O meltdown caused by readahead in a # memory-tight memcg. Addressed in the series "Fix I/O high when # memory almost met memcg limit". # # - In the series "mm/filemap: optimize folio adding and splitting" # Kairui Song has optimized pagecache insertion, yielding ~10% # performance improvement in one test. # # - Baoquan He has cleaned up and consolidated the early zone # initialization code in the series "mm/mm_init.c: refactor # free_area_init_core()". # # - Baoquan has also redone some MM initializatio code in the series # "mm/init: minor clean up and improvement". # # - MM helper cleanups from Christoph Hellwig in his series "remove # follow_pfn". # # - More cleanups from Matthew Wilcox in the series "Various # page->flags cleanups". # # - Vlastimil Babka has contributed maintainability improvements in the # series "memcg_kmem hooks refactoring". # # - More folio conversions and cleanups in Matthew Wilcox's series: # "Convert huge_zero_page to huge_zero_folio" # "khugepaged folio conversions" # "Remove page_idle and page_young wrappers" # "Use folio APIs in procfs" # "Clean up __folio_put()" # "Some cleanups for memory-failure" # "Remove page_mapping()" # "More folio compat code removal" # # - David Hildenbrand chipped in with "fs/proc/task_mmu: convert # hugetlb functions to work on folis". # # - Code consolidation and cleanup work related to GUP's handling of # hugetlbs in Peter Xu's series "mm/gup: Unify hugetlb, part 2". # # - Rick Edgecombe has developed some fixes to stack guard gaps in the # series "Cover a guard gap corner case". # # - Jinjiang Tu has fixed KSM's behaviour after a fork+exec in the # series "mm/ksm: fix ksm exec support for prctl". # # - Baolin Wang has implemented NUMA balancing for multi-size THPs. # This is a simple first-cut implementation for now. The series is # "support multi-size THP numa balancing". # # - Cleanups to vma handling helper functions from Matthew Wilcox in # the series "Unify vma_address and vma_pgoff_address". # # - Some selftests maintenance work from Dev Jain in the series # "selftests/mm: mremap_test: Optimizations and style fixes". # # - Improvements to the swapping of multi-size THPs from Ryan Roberts # in the series "Swap-out mTHP without splitting". # # - Kefeng Wang has significantly optimized the handling of arm64's # permission page faults in the series # "arch/mm/fault: accelerate pagefault when badaccess" # "mm: remove arch's private VM_FAULT_BADMAP/BADACCESS" # # - GUP cleanups from David Hildenbrand in "mm/gup: consistently call # it GUP-fast". # # - hugetlb fault code cleanups from Vishal Moola in "Hugetlb fault # path to use struct vm_fault". # # - selftests build fixes from John Hubbard in the series "Fix # selftests/mm build without requiring "make headers"". # # - Memory tiering fixes/improvements from Ho-Ren (Jack) Chuang in the # series "Improved Memory Tier Creation for CPUless NUMA Nodes". # Fixes the initialization code so that migration between different # memory types works as intended. # # - David Hildenbrand has improved follow_pte() and fixed an errant # driver in the series "mm: follow_pte() improvements and acrn # follow_pte() fixes". # # - David also did some cleanup work on large folio mapcounts in his # series "mm: mapcount for large folios + page_mapcount() cleanups". # # - Folio conversions in KSM in Alex Shi's series "transfer page to # folio in KSM". # # - Barry Song has added some sysfs stats for monitoring multi-size # THP's in the series "mm: add per-order mTHP alloc and swpout # counters". # # - Some zswap cleanups from Yosry Ahmed in the series "zswap # same-filled and limit checking cleanups". # # - Matthew Wilcox has been looking at buffer_head code and found the # documentation to be lacking. The series is "Improve buffer head # documentation". # # - Multi-size THPs get more work, this time from Lance Yang. His # series "mm/madvise: enhance lazyfreeing with mTHP in madvise_free" # optimizes the freeing of these things. # # - Kemeng Shi has added more userspace-visible writeback # instrumentation in the series "Improve visibility of writeback". # # - Kemeng Shi then sent some maintenance work on top in the series # "Fix and cleanups to page-writeback". # # - Matthew Wilcox reduces mmap_lock traffic in the anon vma code in # the series "Improve anon_vma scalability for anon VMAs". Intel's # test bot reported an improbable 3x improvement in one test. # # - SeongJae Park adds some DAMON feature work in the series # "mm/damon: add a DAMOS filter type for page granularity access recheck" # "selftests/damon: add DAMOS quota goal test" # # - Also some maintenance work in the series # "mm/damon/paddr: simplify page level access re-check for pageout" # "mm/damon: misc fixes and improvements" # # - David Hildenbrand has disabled some known-to-fail selftests ni the # series "selftests: mm: cow: flag vmsplice() hugetlb tests as # XFAIL". # # - memcg metadata storage optimizations from Shakeel Butt in "memcg: # reduce memory consumption by memcg stats". # # - DAX fixes and maintenance work from Vishal Verma in the series # "dax/bus.c: Fixups for dax-bus locking"" # # * tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (426 commits) # memcg, oom: cleanup unused memcg_oom_gfp_mask and memcg_oom_order # selftests/mm: hugetlb_madv_vs_map: avoid test skipping by querying hugepage size at runtime # mm/hugetlb: add missing VM_FAULT_SET_HINDEX in hugetlb_wp # mm/hugetlb: add missing VM_FAULT_SET_HINDEX in hugetlb_fault # selftests: cgroup: add tests to verify the zswap writeback path # mm: memcg: make alloc_mem_cgroup_per_node_info() return bool # mm/damon/core: fix return value from damos_wmark_metric_value # mm: do not update memcg stats for NR_{FILE/SHMEM}_PMDMAPPED # selftests: cgroup: remove redundant enabling of memory controller # Docs/mm/damon/maintainer-profile: allow posting patches based on damon/next tree # Docs/mm/damon/maintainer-profile: change the maintainer's timezone from PST to PT # Docs/mm/damon/design: use a list for supported filters # Docs/admin-guide/mm/damon/usage: fix wrong schemes effective quota update command # Docs/admin-guide/mm/damon/usage: fix wrong example of DAMOS filter matching sysfs file # selftests/damon: classify tests for functionalities and regressions # selftests/damon/_damon_sysfs: use 'is' instead of '==' for 'None' # selftests/damon/_damon_sysfs: find sysfs mount point from /proc/mounts # selftests/damon/_damon_sysfs: check errors from nr_schemes file reads # mm/damon/core: initialize ->esz_bp from damos_quota_init_priv() # selftests/damon: add a test for DAMOS quota goal # ... # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux-ld --version # < git log --format=%s --max-count=1 61307b7be41a1f1039d1d1368810a1d92cb97b44 # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_allmodconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=parisc O=/kisskb/build/linus_allmodconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- help # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_allmodconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- olddefconfig # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_allmodconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- In file included from /kisskb/src/include/linux/kernel.h:31, from /kisskb/src/arch/parisc/include/asm/bug.h:5, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/alloc_tag.h:8, from /kisskb/src/include/linux/vmalloc.h:5, from /kisskb/src/drivers/scsi/mpi3mr/mpi3mr_transport.c:10: /kisskb/src/drivers/scsi/mpi3mr/mpi3mr_transport.c: In function 'mpi3mr_sas_port_add': /kisskb/src/include/linux/kern_levels.h:5:25: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Werror=format=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /kisskb/src/include/linux/printk.h:429:25: note: in definition of macro 'printk_index_wrap' 429 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ /kisskb/src/include/linux/printk.h:510:9: note: in expansion of macro 'printk' 510 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ /kisskb/src/include/linux/kern_levels.h:12:25: note: in expansion of macro 'KERN_SOH' 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ /kisskb/src/include/linux/printk.h:510:16: note: in expansion of macro 'KERN_WARNING' 510 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ /kisskb/src/drivers/scsi/mpi3mr/mpi3mr_debug.h:46:9: note: in expansion of macro 'pr_warn' 46 | pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__) | ^~~~~~~ /kisskb/src/drivers/scsi/mpi3mr/mpi3mr_transport.c:1367:25: note: in expansion of macro 'ioc_warn' 1367 | ioc_warn(mrioc, "skipping port %u, max allowed value is %lu\n", | ^~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/scsi/mpi3mr/mpi3mr_transport.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/scsi/mpi3mr] Error 2 make[5]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/nouveau/nvif/object.c: In function 'nvif_object_mthd': /kisskb/src/drivers/gpu/drm/nouveau/nvif/object.c:161:9: error: 'memcpy' accessing 4294967264 or more bytes at offsets 0 and 32 overlaps 6442450881 bytes at offset -2147483617 [-Werror=restrict] 161 | memcpy(data, args->mthd.data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/nouveau/nvif/object.c: In function 'nvif_object_ctor': /kisskb/src/drivers/gpu/drm/nouveau/nvif/object.c:298:17: error: 'memcpy' accessing 4294967240 or more bytes at offsets 0 and 56 overlaps 6442450833 bytes at offset -2147483593 [-Werror=restrict] 298 | memcpy(data, args->new.data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/gpu/drm/nouveau/nvif/object.o] Error 1 make[6]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu/drm/nouveau] Error 2 make[6]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/scsi] Error 2 make[4]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1929: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 32 ARCH=parisc O=/kisskb/build/linus_allmodconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_parisc-gcc13 # Build took: 0:12:53.781351