From patchwork Wed Jul 10 20:23:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13729655 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9A77C3DA42 for ; Wed, 10 Jul 2024 20:23:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4B2A16B00B6; Wed, 10 Jul 2024 16:23:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 462016B00B8; Wed, 10 Jul 2024 16:23:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3518B6B00B9; Wed, 10 Jul 2024 16:23:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 1776C6B00B6 for ; Wed, 10 Jul 2024 16:23:41 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 8BEEF40274 for ; Wed, 10 Jul 2024 20:23:40 +0000 (UTC) X-FDA: 82324968600.21.72B9308 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf26.hostedemail.com (Postfix) with ESMTP id 37DDE140016 for ; Wed, 10 Jul 2024 20:23:37 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=vSOVlW4V; spf=pass (imf26.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1720643003; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=YcoI+lhABWNWzXl/hA5oFCgoAAIGFSYZGwQONs6XDt8=; b=bCyQ2lhjKWHO4xfca4Hwi2dnDrWlpI0J5YqfVVlozCgM19RvI4nWet4myjZVgCJXvBJiw/ pLjDMwJGVu32acYU+cQqmhMbitSLyxCXdimTYtHHB732+GjxU62iw4tE5CJUa411PcgCwf jjbws+9bo21OhY0fWTO9IFHxViCBgV0= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=vSOVlW4V; spf=pass (imf26.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1720643003; a=rsa-sha256; cv=none; b=UC8JRIXI1/2QtwFhi4otEcMIZGUlaNmM35T95A6rL9WbiQ3SC+lKIpQvNiS147ixxUF818 OBudyI8VkHfbIk5bAlFyxUqK6vYC4hH0kfCJRaitEYmZr29hTGnNQPFembPkStbe5cKJJN qcODxLOsmQqNOL7qebBnYIhaLNxdp7I= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id D49CACE168C; Wed, 10 Jul 2024 20:23:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06511C32781; Wed, 10 Jul 2024 20:23:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1720643014; bh=C+LOEY5AOPNH//aXmXYOYWWB7w+l1ylAfyxYeJjyUs4=; h=Date:From:To:Cc:Subject:From; b=vSOVlW4Vc0gvuFETmWPOANPHiw97FZseCaF3+hn/eaVUc+3myp/f/bU2lw5hXBkP+ tqZT7Ri+pV+p6bX7VBGfeqZXgdPeE3bz3B2PdR7xBwukYWgzLnNv6dhUq0uZ7nY36u 6h/TxKHfaT1JnnwkkAYlAaebz26V7WQaSUF/t0sE= Date: Wed, 10 Jul 2024 13:23:33 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, mm-commits@vger.kernel.org Subject: [GIT PULL] hotfixes against 6.10-rc7 Message-Id: <20240710132333.0ef20b0442ffd813429ec240@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 37DDE140016 X-Stat-Signature: n9ijj6ibe965fcn9jfyncubchfe5doxc X-HE-Tag: 1720643017-275361 X-HE-Meta: U2FsdGVkX1/NAwsm87HMtYjFIcRJAH/kCMoWFBnuj4j3MBa/fpS8004GZoDf5GIE4Ik43Rvs69487UjvAvKaIOpIoZlLTmonG2CrmfcXCpGBvn1xXqqJ6BiVSw0Wd96vckNm8D8TZ080nFawyHSH8q7jdj2sx9rqD7R5BCYq6ytTETLv4XZpJh45znp2jbxFl6YfrhIvmFMsX2jWKjCWN4E0Sxz7FOLhO7BVBDOSko3oZBTDOC9OOzTF4XQtYh5NBPN9nuCwUbbYzxyY1T47GBdNUA7BdSJrHznQlFrzy0sf9uQoB1S8euPbObXGKIzZKpNrzfayLrE4KWvRhp9RyLl4B3jKJRvxJdf5IzZnXgpeU5Vj14MCpeWoc3D7mfi8pVth4KkbiokyTaU+ZqCRW32P4u3f/yP+/e2Mq0gftiWzGNQw8srIFUjne63WVxGNmRoG3zdTlw1XOYCpmzwok6Oz1Q8Y74YDlAjgtfujv0iZlvOiORZFGec9iW9zEjTD2sf3i+qpV/WlpEpp+Gx1bZWZ+1RCWhrSKlY3kv4+A5Sd+kGg2XzSTvZ/VtwN+KgXRBNIVCEm5SCACaFx4ZErotmEIu5YsumySqmN7X6rAOe5xweB0Vi/i5GZiaTnFs3NBJ4t6fWpEeNuuEXhS4ZIZqR+SXrfq3S/gETY/lBtez/6Odz1LjfkvnX1Axbuhpii895SrJTRpFWT0DlcrG/GNDaHcbCCkw516+gtP4OMfh8jBGX4GJwjX8/FCRMxxt8xrjgWOzrVsSthl6JJG36dskYV+2xP93/s31EPCghWEyEnoLxCXx3dGSgUYnN4SfohxDksoNVMsO/V37s0mrR/+ayTl5I4Kn6IMdtlj441jXlPgzhQJOmoNXSOtnKrRbOSo8vdBGXbsLbAA/R7kD6XEMY+d5zxhY5w4j6DZ4TgfmP7oI0YUYpYRwJM8HKXBaGSNT2MbBeFOYHUTAYQYfk ahXAUUv9 o3b5cchycBU8kKOCH1oSdMV9R8wmtMX5R9xghQ/JOO3Ca0EXZh1LZtohSG6D9025DKpZc+8fnGuLBSzYwC4rFpYEvktFSizH4WzcJlPqqmghf6one1xuNfbMtEI9WET0JqLKbq0+TBdJVRYiDS4gCowGQRnRvZT8FqAFGN96xeuJDEJSoDcmVNEUlDbxfMeJWKxZvuDXJnYkih2zATqwxN8hrYh/zemVEYdKxLw+2ii8vVCH+XDkevlkSiX29mo6+71hQV2gsDkNPgUxZzxkZV/p5Fw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Linus, please merge this batch of hotfixes, thanks. The following changes since commit 93aef9eda1cea9e84ab2453fcceb8addad0e46f1: nilfs2: fix incorrect inode allocation from reserved inodes (2024-07-03 12:29:25 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-07-10-13-19 for you to fetch changes up to f708f6970cc9d6bac71da45c129482092e710537: mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folio (2024-07-09 15:41:11 -0700) ---------------------------------------------------------------- 21 hotfixes, 15 of which are cc:stable. No identifiable theme here - all are singleton patches, 19 are for MM. ---------------------------------------------------------------- Audra Mitchell (1): Fix userfaultfd_api to return EINVAL as expected Gavin Shan (4): mm/filemap: make MAX_PAGECACHE_ORDER acceptable to xarray mm/readahead: limit page cache size in page_cache_ra_order() mm/filemap: skip to create PMD-sized page cache if needed mm/shmem: disable PMD-sized page cache if needed Hugh Dickins (1): mm: fix crashes from deferred split racing folio migration Lorenzo Stoakes (1): MAINTAINERS: mailmap: update Lorenzo Stoakes's email address Miaohe Lin (2): mm/hugetlb: fix potential race in __update_and_free_hugetlb_folio() mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folio Nhat Pham (1): cachestat: do not flush stats in recency check Paul Menzel (1): lib/build_OID_registry: avoid non-destructive substitution for Perl < 5.13.2 compat Ryusuke Konishi (1): nilfs2: fix kernel bug on rename operation of broken directory SeongJae Park (1): mm/damon/core: merge regions aggressively when max_nr_regions is unmet Suren Baghdasaryan (2): sched.h: always_inline alloc_tag_{save|restore} to fix modpost warnings arch/xtensa: always_inline get_current() and current_thread_info() Uladzislau Rezki (Sony) (1): mm: vmalloc: check if a hash-index is in cpu_possible_mask Waiman Long (1): mm: prevent derefencing NULL ptr in pfn_section_valid() Yang Shi (2): mm: page_ref: remove folio_try_get_rcu() mm: gup: stop abusing try_grab_folio Yu Zhao (1): mm/hugetlb_vmemmap: fix race with speculative PFN walkers ZhangPeng (1): filemap: replace pte_offset_map() with pte_offset_map_nolock() .mailmap | 1 + MAINTAINERS | 2 +- arch/xtensa/include/asm/current.h | 2 +- arch/xtensa/include/asm/thread_info.h | 2 +- fs/nilfs2/dir.c | 32 +++- fs/userfaultfd.c | 7 +- include/linux/mmzone.h | 3 +- include/linux/page_ref.h | 57 ++----- include/linux/pagemap.h | 11 +- include/linux/sched.h | 4 +- include/linux/swap.h | 3 +- lib/build_OID_registry | 4 +- mm/damon/core.c | 23 ++- mm/filemap.c | 20 ++- mm/gup.c | 291 ++++++++++++++++++---------------- mm/huge_memory.c | 2 +- mm/hugetlb.c | 70 ++------ mm/hugetlb_vmemmap.c | 16 ++ mm/internal.h | 4 +- mm/memcontrol.c | 11 -- mm/migrate.c | 13 ++ mm/readahead.c | 8 +- mm/shmem.c | 15 +- mm/vmalloc.c | 10 +- mm/workingset.c | 14 +- 25 files changed, 339 insertions(+), 286 deletions(-)