Skip to content

9.4 mm changes

JIRA: https://issues.redhat.com/browse/RHEL-1848

Already in CS9 Omitted-fix: 327b18b7aaed ("mm/kfence: select random number before taking raw lock") Omitted-fix: bfbfb6182ad1 ("nfsd_splice_actor(): handle compound pages") Omitted-fix: ac8db824ead0 ("NFSD: Fix reads with a non-zero offset that don't end on a page boundary") Omitted-fix: b3719108ae60 ("perf kmem: Support legacy tracepoints") Omitted-fix: dce088ab0d51 ("perf kmem: Support field "node" in evsel__process_alloc_event() coping with recent tracepoint restructuring") Omitted-fix: c18c20f16219 ("mm, slab: remove duplicate kernel-doc comment for ksize()") Omitted-fix: cfccd2e63e7e ("mm, compaction: finish pageblocks on complete migration failure") Omitted-fix: 6342140db660 ("selftests/timens: add a test for vfork+exit") Omitted-fix: be6667b0db97 ("selftests/vm: dedup hugepage allocation logic") Omitted-fix: 9d0d94684007 ("selftests/vm: add selftest to verify multi THP collapse") Omitted-fix: 1370a21fe470 ("selftests/vm: add selftest to verify recollapse of THPs") Omitted-fix: b25806dcd3d5 ("mm: memcontrol: deprecate swapaccounting=0 mode") Omitted-fix: b94c4e949c36 ("mm: memcontrol: use do_memsw_account() in a few more places") Omitted-fix: e55b9f96860f ("mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol") Omitted-fix: 6f777dcef774 ("docs: kmsan: fix formatting of "Example report"") Omitted fix: 26e1a0c3277d ("mm: use pmdp_get_lockless() without surplus barrier()") Omitted-fix: 0cb8fd4d1416 ("mm/migrate: remove cruft from migration_entry_wait()s")

patches resulting in empty commits after conflict resolution Omitted-fix: 4a7e922587d2 ("selftests: vm: add /dev/userfaultfd test cases to run_vmtests.sh")

patches that are functionally identical Omitted-fix: 6f777dcef774 ("docs: kmsan: fix formatting of "Example report"") Is identical to 436fa4a699bc ("docs: kmsan: fix formatting of "Example report"")

Defer to crypto group Omitted-fix: f900fde28883 ("crypto: testmgr - fix RNG performance in fuzz tests")

Not including since we're specifically excluding the Maple Tree VMA Iterator Omitted-fix: 524e00b36e8c ("mm: remove rb tree.")

'series' patches that won't be addressed by this MR Omitted-fix: 9905eed48e82 ("Merge branch 'af_unix-OOB-fixes'") Omitted-fix: 2e4b231ac125 ("scsi: NCR5380: Use sc_data_direction instead of rq_data_dir()") Omitted-fix: 40e16ce7b6fa ("scsi: advansys: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 11bf4ec58073 ("scsi: aha1542: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 3ada9c791b1d ("scsi: dpt_i2o: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 240ec1197786 ("scsi: ips: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: ce425dd7dbc9 ("scsi: mvumi: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 2fd8f23aae36 ("scsi: myrb: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 43b2d1b14ed0 ("scsi: myrs: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 0f8f3ea84a89 ("scsi: ncr53c8xx: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 3f5e62c5e074 ("scsi: qla1280: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: ba4baf0951bb ("scsi: qlogicpti: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: ec808ef9b838 ("scsi: snic: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: bbfa8d7d1283 ("scsi: stex: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 6c5d5422c533 ("scsi: sun3_scsi: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 77ff7756c73e ("scsi: sym53c8xx: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 80ca10b6052d ("scsi: xen-scsifront: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 332f606b32b6 ("ovl: enable RCU'd ->get_acl()") Omitted-fix: b3b6f5b92255 ("btrfs: handle idmaps in btrfs_new_inode()") Omitted-fix: ca07274c3da9 ("btrfs: allow idmapped rename inode op") Omitted-fix: c020d2eaf1a8 ("btrfs: allow idmapped getattr inode op") Omitted-fix: 72105277dcfc ("btrfs: allow idmapped mknod inode op") Omitted-fix: e93ca491d03f ("btrfs: allow idmapped create inode op") Omitted-fix: b0b3e44d346c ("btrfs: allow idmapped mkdir inode op") Omitted-fix: 5a0521086e5f ("btrfs: allow idmapped symlink inode op") Omitted-fix: 98b6ab5fc098 ("btrfs: allow idmapped tmpfile inode op") Omitted-fix: d4d094646142 ("btrfs: allow idmapped setattr inode op") Omitted-fix: 3bc71ba02cf5 ("btrfs: allow idmapped permission inode op") Omitted-fix: 5474bf400f16 ("btrfs: check whether fsgid/fsuid are mapped during subvolume creation") Omitted-fix: 4d4340c912cc ("btrfs: allow idmapped SNAP_CREATE/SUBVOL_CREATE ioctls") Omitted-fix: c4ed533bdc79 ("btrfs: allow idmapped SNAP_DESTROY ioctls") Omitted-fix: aabb34e7a31c ("btrfs: relax restrictions for SNAP_DESTROY_V2 with subvolids") Omitted-fix: e4fed17a32b6 ("btrfs: allow idmapped SET_RECEIVED_SUBVOL ioctls") Omitted-fix: 39e1674ff035 ("btrfs: allow idmapped SUBVOL_SETFLAGS ioctl") Omitted-fix: 6623d9a0b0ce ("btrfs: allow idmapped INO_LOOKUP_USER ioctl") Omitted-fix: 4a8b34afa9c9 ("btrfs: handle ACLs on idmapped mounts") Omitted-fix: 5b9b26f5d0b8 ("btrfs: allow idmapped mount") Omitted-fix: 8cc5c54de44c ("docs: update mapping documentation") Omitted-fix: 02e407991350 ("fs: remove unused low-level mapping helpers") Omitted-fix: ce70fd9a551a ("scsi: core: Remove the cmd field from struct scsi_request") Omitted-fix: 5b794f98074a ("scsi: core: Remove the sense and sense_len fields from struct scsi_request") Omitted-fix: a9a4ea1166d6 ("scsi: core: Move the resid_len field from struct scsi_request to struct scsi_cmnd") Omitted-fix: dbb4c84d87af ("scsi: core: Move the result field from struct scsi_request to struct scsi_cmnd") Omitted-fix: 6aded12b10e0 ("scsi: core: Remove struct scsi_request") Omitted-fix: 264403033105 ("scsi: core: Remove <scsi/scsi_request.h>") Omitted-fix: cd4b46cdb491 ("scsi: 53c700: Use scsi_cmd_to_rq() instead of scsi_cmnd.request") Omitted-fix: 417c434aa1b4 ("docs/zh_CN: core-api: Update the translation of cachetlb.rst to 5.19-rc3") Omitted-fix: 1ebfae49fd44 ("docs/zh_CN: core-api: Update the translation of cpu_hotplug.rst to 5.19-rc3") Omitted-fix: 722ecdbce68a ("docs/zh_CN: core-api: Update the translation of irq/irq-domain.rst to 5.19-rc3") Omitted-fix: b2fdf7f080b4 ("docs/zh_CN: core-api: Update the translation of kernel-api.rst to 5.19-rc3") Omitted-fix: e86a0e297f0b ("docs/zh_CN: core-api: Update the translation of printk-format.rst to 5.19-rc3") Omitted-fix: c290f175e73f ("docs/zh_CN: core-api: Update the translation of workqueue.rst to 5.19-rc3") Omitted-fix: 4a6d00a43ef7 ("docs/zh_CN: core-api: Update the translation of xarray.rst to 5.19-rc3") Omitted-fix: e8f60cd7db24 ("Merge tag 'perf-tools-fixes-for-v6.2-2-2023-01-11' of git://git.kernel.org/pub/scm/linux/ker…") Omitted-fix: 3a761d72fa62 ("exportfs: support idmapped mounts") Omitted-fix: 22f289ce1f8b ("ovl: use ovl_lookup_upper() wrapper") Omitted-fix: 50db8d027355 ("ovl: handle idmappings for layer fileattrs") Omitted-fix: c85bcc912f4f ("kselftests: memcg: update the oom group leaf events test") Omitted-fix: be74553f250f ("kselftests: memcg: speed up the memory.high test") Omitted-fix: 1bd1a4dd3e8c ("MAINTAINERS: add corresponding kselftests to cgroup entry") Omitted-fix: 3a761d72fa62 ("exportfs: support idmapped mounts") Omitted-fix: 22f289ce1f8b ("ovl: use ovl_lookup_upper() wrapper") Omitted-fix: 50db8d027355 ("ovl: handle idmappings for layer fileattrs") Omitted-fix: c85bcc912f4f ("kselftests: memcg: update the oom group leaf events test") Omitted-fix: be74553f250f ("kselftests: memcg: speed up the memory.high test") Omitted-fix: 1bd1a4dd3e8c ("MAINTAINERS: add corresponding kselftests to cgroup entry") Omitted-fix: cdc69458a5f3 ("cgroup: account for memory_recursiveprot in test_memcg_low()") Omitted-fix: 72b1e03aa725 ("cgroup: account for memory_localevents in test_memcg_oom_group_leaf_events()") Omitted-fix: 830316807e02 ("cgroup: remove racy check in test_memcg_sock()") Omitted-fix: c1a31a2f7a9c ("cgroup: fix racy check in alloc_pagecache_max_30M() helper function") Omitted-fix: c01d4d0a82b7 ("random: quiet urandom warning ratelimit suppression message") Omitted-fix: 21873bd66b6e ("Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux") Omitted-fix: ff3b72a5d614 ("selftests: memcg: fix compilation") Omitted-fix: 1d09069f5313 ("selftests: memcg: expect no low events in unprotected sibling") Omitted-fix: 63fbdd3c77ec ("net: use DEBUG_NET_WARN_ON_ONCE() in __release_sock()") Omitted-fix: 76458faeb285 ("net: use DEBUG_NET_WARN_ON_ONCE() in dev_loopback_xmit()") Omitted-fix: 3e7f2b8d3088 ("net: use WARN_ON_ONCE() in inet_sock_destruct()") Omitted-fix: 7890e2f09d43 ("net: use DEBUG_NET_WARN_ON_ONCE() in skb_release_head_state()") Omitted-fix: ee2640df2393 ("net: add debug checks in napi_consume_skb and __napi_alloc_skb()") Omitted-fix: 39e0f991a62e ("random: mark bootloader randomness code as __init") Omitted-fix: 6342140db660 ("selftests/timens: add a test for vfork+exit") Omitted-fix: cf21b355ccb3 ("af_unix: Optimise hash table layout.") Omitted-fix: c12db92d62bf ("ovl: port to vfs{g,u}id_t and associated helpers") Omitted-fix: 73db6a063c78 ("ovl: port to vfs{g,u}id_t and associated helpers") Omitted-fix: 1e8a9191ccc2 ("f2fs: port to vfs{g,u}id_t and associated helpers") Omitted-fix: a03a972b26da ("fuse: port to vfs{g,u}id_t and associated helpers") Omitted-fix: 00d369bc2de5 ("fuse: port to vfs{g,u}id_t and associated helpers") Omitted-fix: 276a3f7cf1d9 ("ksmbd: port to vfs{g,u}id_t and associated helpers") Omitted-fix: 45c311501c77 ("fs: use mount types in iattr") Omitted-fix: 1f36146a5a3d ("fs: introduce tiny iattr ownership update helpers") Omitted-fix: 35faf3109a78 ("fs: port to iattr ownership update helpers") Omitted-fix: 71e7b535b890 ("quota: port quota helpers mount ids") Omitted-fix: b27c82e12965 ("attr: port attribute changes to new types") Omitted-fix: cf21b355ccb3 ("af_unix: Optimise hash table layout.") Omitted-fix: e95ab1d85289 ("selftests: net: af_unix: Test connect() with different netns.") Omitted-fix: 169005eae2af ("docs/zh_CN: Update the translation of mm-api to 6.1-rc8") Omitted-fix: 659797dc4d64 ("Docs/zh_CN: Update the translation of iio_configfs to 5.19-rc8") Omitted-fix: 6a5057e9dc13 ("Docs/zh_CN: Update the translation of sparse to 5.19-rc8") Omitted-fix: 63c1d2516b05 ("Docs/zh_CN: Update the translation of testing-overview to 5.19-rc8") Omitted-fix: 83b41bb27b25 ("Docs/zh_CN: Update the translation of usage to 5.19-rc8") Omitted-fix: c78478e164d4 ("Docs/zh_CN: Update the translation of pci-iov-howto to 5.19-rc8") Omitted-fix: ce1120076c53 ("Docs/zh_CN: Update the translation of pci to 5.19-rc8") Omitted-fix: 4116ff79749d ("Docs/zh_CN: Update the translation of sched-stats to 5.19-rc8") Omitted-fix: 7f02464739da ("9p: convert to advancing variant of iov_iter_get_pages_alloc()") Omitted-fix: 5b09c9fec086 ("do_proc_readlink(): constify path") Omitted-fix: ea4af4aa03c3 ("nd_jump_link(): constify path") Omitted-fix: 20f45ad50d65 ("spufs: constify path") Omitted-fix: 88569546e8a1 ("ecryptfs: constify path") Omitted-fix: 9204a97f7ae8 ("sched: Change wait_task_inactive()s match_state") Omitted-fix: 04c6b79ae4f0 ("btrfs: convert process_pages_contig() to use filemap_get_folios_contig()") Omitted-fix: a75b81c3f63b ("btrfs: convert end_compressed_writeback() to use filemap_get_folios()") Omitted-fix: 47d554199513 ("btrfs: convert process_page_range() to use filemap_get_folios_contig()") Omitted-fix: 24a1efb4a912 ("nilfs2: convert nilfs_find_uncommited_extent() to use filemap_get_folios_contig()") Omitted-fix: 7c18b64bba3b ("mips: ralink: mt7621: do not use kzalloc too early") Omitted-fix: 7d37539037c2 ("fuse: implement ->tmpfile()") Omitted-fix: f743f16c548b ("treewide: use get_random{u8,u16}() when possible, part 2") Omitted-fix: 6ab587e8e8b4 ("docs/zh_CN: Update the translation of delay-accounting to 6.1-rc8") Omitted-fix: cf306a26cb3a ("docs/zh_CN: Update the translation of kernel-api to 6.1-rc8") Omitted-fix: e07e9f22259e ("docs/zh_CN: Update the translation of testing-overview to 6.1-rc8") Omitted-fix: ffdd9bd7a278 ("docs/zh_CN: Update the translation of reclaim to 6.1-rc8") Omitted-fix: 9a833802a04d ("docs/zh_CN: Update the translation of start to 6.1-rc8") Omitted-fix: 7cb52d4b3724 ("docs/zh_CN: Update the translation of usage to 6.1-rc8") Omitted-fix: 03474d581df3 ("docs/zh_CN: Update the translation of msi-howto to 6.1-rc8") Omitted-fix: 7df047be4363 ("docs/zh_CN: Update the translation of energy-model to 6.1-rc8") Omitted-fix: e0068090095c ("docs/zh_CN: Update the translation of highmem to 6.1-rc8") Omitted-fix: 0f3d70cb01da ("docs/zh_CN: Update the translation of ksm to 6.1-rc8") Omitted-fix: 11018ef90ce7 ("s390/checksum: remove not needed uaccess.h include") Omitted-fix: 2ea3498980f5 ("mm/damon/core: split out DAMOS-charged region skip logic into a new function") Omitted-fix: e63a30c51f84 ("mm/damon/core: split damos application logic into a new function") Omitted-fix: d1cbbf621fc2 ("mm/damon/core: split out scheme stat update logic into a new function") Omitted-fix: 898810e5ca54 ("mm/damon/core: split out scheme quota adjustment logic into a new function") Omitted-fix: 789a230613c8 ("mm/damon/sysfs: use damon_addr_range for region's start and end values") Omitted-fix: 1f71981408ef ("mm/damon/sysfs: remove parameters of damon_sysfs_region_alloc()") Omitted-fix: 39240595917e ("mm/damon/sysfs: move sysfs_lock to common module") Omitted-fix: d332fe11debe ("mm/damon/sysfs: move unsigned long range directory to common module") Omitted-fix: 4acd715ff57f ("mm/damon/sysfs: split out kdamond-independent schemes stats update logic into a new function") Omitted-fix: c8e7b4d0ba34 ("mm/damon/sysfs: split out schemes directory implementation to separate file") Omitted fix: dfe843dce775 ("s390/checksum: support GENERIC_CSUM, enable it for KASAN") Omitted fix: e42ac7789df6 ("s390/checksum: always use cksm instruction") Omitted fix: 1a167ddd3c56 ("x86: kmsan: pgtable: reduce vmalloc space") Omitted fix: 7cf8f44a5a1c ("x86: fs: kmsan: disable CONFIG_DCACHE_WORD_ACCESS") Omitted fix: 1468c6f4558b ("mm: fs: initialize fsdata passed to write_begin/write_end interface") Omitted fix: 0aa8ea3c5d35 ("mm/compaction: correct comment of fast_find_migrateblock in isolate_migratepages") Omitted fix: 42855f588e18 ("x86/purgatory: disable KMSAN instrumentation") Omitted fix: 11385b261200 ("x86/uaccess: instrument copy_from_user_nmi()") Omitted fix: f70da5ee8fe1 ("mm/damon: convert damon_pa_mark_accessed_or_deactivate() to use folios") Omitted fix: 5a9e34747c9f ("mm/swap: convert deactivate_page() to folio_deactivate()") Omitted fix: 0aa8ea3c5d35 ("mm/compaction: correct comment of fast_find_migrateblock in isolate_migratepages") Omitted fix: de1f5055523e ("mm/mempolicy: convert queue_pages_pmd() to queue_folios_pmd()") Omitted fix: 3dae02bbd07f ("mm/mempolicy: convert queue_pages_pte_range() to queue_folios_pte_range()") Omitted fix: 0a2c1e818316 ("mm/mempolicy: convert queue_pages_hugetlb() to queue_folios_hugetlb()") Omitted fix: d451b89dcd18 ("mm/mempolicy: convert queue_pages_required() to queue_folio_required()") Omitted fix: 4a64981dfee9 ("mm/mempolicy: convert migrate_page_add() to migrate_folio_add()") Omitted fix: 0aa8ea3c5d35 ("mm/compaction: correct comment of fast_find_migrateblock in isolate_migratepages") Omitted fix: 46c475bd676b ("mm/pgtable: kmap_local_page() instead of kmap_atomic()") Omitted fix: 0d940a9b270b ("mm/pgtable: allow pte_offset_map_lock to fail") Omitted fix: 65747aaf42b7 ("mm/filemap: allow pte_offset_map_lock() to fail") Omitted fix: 45fe85e9811e ("mm/page_vma_mapped: delete bogosity in page_vma_mapped_walk()") Omitted fix: 90f43b0a13cd ("mm/page_vma_mapped: reformat map_pte() with less indentation") Omitted fix: 2798bbe75b9c ("mm/page_vma_mapped: pte_offset_map_nolock() not pte_lockptr()") Omitted fix: 7780d04046a2 ("mm/pagewalkers: ACTION_AGAIN if pte_offset_map_lock() fails") Omitted fix: be872f83bf57 ("mm/pagewalk: walk_pte_range() allow for pte_offset_map()") Omitted fix: e5ad581c7f1c ("mm/vmwgfx: simplify pmd & pud mapping dirty helpers") Omitted fix: 0d1c81edc61e ("mm/vmalloc: vmalloc_to_page() use pte_offset_kernel()") Omitted fix: 6ec1905f6ec7 ("mm/hmm: retry if pte_offset_map() fails") Omitted fix: 2b683a4ff6ee ("mm/userfaultfd: retry if pte_offset_map() fails") Omitted fix: 3622d3cde308 ("mm/userfaultfd: allow pte_offset_map_lock() to fail") Omitted fix: 9f2bad096d2f ("mm/debug_vm_pgtable,page_table_check: warn pte map fails") Omitted fix: 04dee9e85cf5 ("mm/various: give up if pte_offset_map_lock fails") Omitted fix: 670ddd8cdcbd ("mm/mprotect: delete pmd_none_or_clear_bad_unless_trans_huge()") Omitted fix: a5be621ee292 ("mm/mremap: retry if either pte_offset_map*lock() fails") Omitted fix: 179d3e4f3bfa ("mm/madvise: clean up force_shm_swapin_readahead()") Omitted fix: d850fa729873 ("mm/swapoff: allow pte_offset_map_lock to fail") Omitted fix: 52fc048320ad ("mm/mglru: allow pte_offset_map_nolock() to fail") Omitted fix: 4b56069c95d6 ("mm/migrate_device: allow pte_offset_map_lock() to fail") Omitted fix: 2378118bd9da ("mm/gup: remove FOLL_SPLIT_PMD use of pmd_trans_unstable()") Omitted fix: c9c1ee20ee84 ("mm/huge_memory: split huge pmd under one pte_offset_map()") Omitted fix: 895f5ee464cc ("mm/khugepaged: allow pte_offset_map_lock to fail") Omitted fix: 3db82b9374ca ("mm/memory: allow pte_offset_map_lock to fail") Omitted fix: c7ad08804fae ("mm/memory: handle_pte_fault() use pte_offset_map_nolock()") Omitted fix: 20b18aada185 ("madvise:madvise_free_huge_pmd(): don't use mapcount() against large folio for sharing check") Omitted fix: 3db82b9374ca ("mm/memory: allow pte_offset_map_lock to fail") Omitted fix: c7ad08804fae ("mm/memory: handle_pte_fault() use pte_offset_map_nolock()") Omitted fix: 20b18aada185 ("madvise:madvise_free_huge_pmd(): don't use mapcount() against large folio for sharing check")

Coming Soon: Omitted-fix: 6f0df8e16eb5 ("memcontrol: ensure memcg acquired by id is properly set up") Omitted-fix: ee40d543e97d ("mm/pagewalk: fix bootstopping regression from extra pte_unmap()") Omitted-fix: ab048302026d ("ovl: fix failed copyup of fileattr on a symlink") Omitted-fix: 92fe9dcbe4e1 ("hugetlbfs: clear resv_map pointer if mmap fails") Omitted-fix: bf4916922c60 ("hugetlbfs: extend hugetlb_vma_lock to private VMAs") Omitted-fix: 2820b0f09be9 ("hugetlbfs: close race between MADV_DONTNEED and page fault")

Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=56452800 Tested: KT1+mm regression: https://beaker.engineering.redhat.com/jobs/8467307 Signed-off-by: Chris von Recklinghausen crecklin@redhat.com

Edited by Chris von Recklinghausen

Merge request reports