From patchwork Sun Oct 1 15:39:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13405428 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 2556BE748ED for ; Sun, 1 Oct 2023 15:39:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 642AA6B0171; Sun, 1 Oct 2023 11:39:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5F1406B017D; Sun, 1 Oct 2023 11:39:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4E0606B017E; Sun, 1 Oct 2023 11:39:42 -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 3F8BA6B0171 for ; Sun, 1 Oct 2023 11:39:42 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 12F971A01A7 for ; Sun, 1 Oct 2023 15:39:42 +0000 (UTC) X-FDA: 81297302604.30.9508855 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf07.hostedemail.com (Postfix) with ESMTP id 3EBB140014 for ; Sun, 1 Oct 2023 15:39:40 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=TxKd+OCv; dmarc=none; spf=pass (imf07.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1696174780; 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=I2tu/mcoj5ml0aibAOJw9trD8UFuLCGv1fzxisja/Wk=; b=jlm5SnIFSS2jdnSXdMvMX9tuxy7Pwg2ip3pdcG8Qtb6ozAe3ES2lM77dyu2FfXlkMBw7mq QF4IQUrapSg5sp9+SCUabq15r56U4zve7axxvgz6Ao7VZlg6Y5mIW3QBLY3DOnvM3o554o 8TqCnHYMgsuhWTNO3MOLonMDwzjejPM= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=TxKd+OCv; dmarc=none; spf=pass (imf07.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1696174780; a=rsa-sha256; cv=none; b=2AqpLu3aEdbA0jaY6CBzYpIngeuodaLYa1EJFF6YQCNy3kncBP3yu+awNqdG8erwsdHFpk ynx3+yHICHdfumWRrIxvfjwq3+ozVBHfQdZBzDS0JnXc6172Lj5KfZc9J0gq2F6/3WLATK hioodGNAfPAIMP6guKUZStjclW0d6Os= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 3F29D60BB5; Sun, 1 Oct 2023 15:39:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA38BC433C7; Sun, 1 Oct 2023 15:39:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1696174778; bh=/oq0SDIUrQGm9VKxJZQaOIyN7U+l+PKbKKYbnVkn6G0=; h=Date:From:To:Cc:Subject:From; b=TxKd+OCvWpl3b/DrMZxgbVeWKpYw7VN2qdPwi056EPRIY4+T4Krr92J3QipiMwGt4 Io8yUWrfygaJH9v2FddMVkzMxD3s7jlbZ/mmw35R+X8gr7Dk5UVvSJs3WMI6iEmcxO uULKDBBPDbe8CE+VF0BebOUd/ZB71ntHzd3UI3go= Date: Sun, 1 Oct 2023 08:39:37 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.6-rc4 Message-Id: <20231001083937.5f401972d99dc3168e6d4218@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: rspam09 X-Rspamd-Queue-Id: 3EBB140014 X-Stat-Signature: bop3j4b4qab9dtsmxonz3y5rcez58d3a X-Rspam-User: X-HE-Tag: 1696174780-158098 X-HE-Meta: U2FsdGVkX1/NZLYYlvSKxaaWoyFfXtu2bsLAz+GpZeOSgIiEYP/uOUXltIttJ0pY5CzHD+GP2krVbR5mYvye0ORnjn5bD5adubhhZPg016b+IZpwmE9a6xxkKZN3gPiCj+BMQv1nUXK25TD0DlOX7SXse5enQiLVBCk1r1jBw/LLq0YRjhJiE4BCdnNS8ZHSc3N88kiWFEVTx2ikwF3QsuoAHYnzded/cXQz1VIn8DhkiRYZFhaAYqYjA0CSjSBPe09wlsBKqRnupxAwaVjXC3BZX9Rhs/Tgdwrl794+6meox3b8EaTomh8ZMiSwuEHpzAhoZ0sPAG2Tr08QFghlacjGKFkElHlPgiKqaD83nrL7Z0yAq+QBJFQid3aiID+QXOxk0o/wJZsVwwhXYl3yDJn/mj+2tZWyJvAKRog+bgM8c3GnjU6I7nHcJ7jlW3fjf03OzAY7CJGDF07rcajxyR4nhahGtVQC0P5mPlnc793EqBxpaECA83h0XzniF3coZ8Xb9zIidZ0zWFZp2XgMnzWYjbSE5BVVku0xtg3okRCmwp79cKuxefjbh5OTx9hJg27kUCZsGQBcyk2RMNZZEWeICIEOlxlwXRtkT4bpa0mFF180n6PmSNRf7WFn7MMRY5uva/R2VPwgUYSVjliuKfKjC/ZSPOVcCk1WU8RdiaW5R1t11OetuGFRzwbjCLNm9FqgouKm3d2nOv/wmcufYV9jt5Ocf2GFH1L2I/yBQj4QFo8f5U+ZDKvYUih6hJ2mJpnCI0KtdcbyiIkiBuJ0AD1afPBm6MaIkwDtb3oyiJZixSXIzk1nlsoZnGQn5MrSZIryieHqzqmwWYbmu6JINKJfrB2OAr7C8opcSo9wEkOmhP/tjm+wVCA8Kr8S2KxEH/3LKKfQBcF9/s1+Yno3Q7Z3BuhECF0DWEPbYozkic7MjPYCGfdjekV2lKRVKKNDnsYDJEceHmfADN7HxKn brHSqd/K +Jx3rZjdPKHfeisttuQJGP3bLFuDytuHBj1KlUHLvSz4ZMjtKnPL/F6uEL3F9fIrCCbEgHtkfQ+s6ZHLe6r7aIUcnpB+GPy9NagUsTi/GHZS8ZjOLwdDX8+5JXuuSuruU0gnHPjLseUSrtVh5luAqZtPEDRyh8/uJuM8bITNF2Upa6sWp2aKwmbjpps7CHOXItymK0d0vEprJEFnWnnW6EoqRp0+jVGKOS2/s/NgeAp22zue/bfGRJxz2RZn5oW2/xHdNpqbVsg88V0cOUPRjEjb4lLCZU0m+iWC4Z0mTGdZNS80= 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: Linus, please merge this batch of MM and non-MM hotfixes, thanks. The following changes since commit fe4419801617514765974f3e796269bc512ad146: proc: nommu: fix empty /proc//maps (2023-09-19 13:21:34 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2023-10-01-08-34 for you to fetch changes up to e2a8f20dd8e9df695f736e51cd9115ae55be92d1: Crash: add lock to serialize crash hotplug handling (2023-09-29 17:20:48 -0700) ---------------------------------------------------------------- Fourteen hotfixes, eleven of which are cc:stable. The remainder pertain to issues which were introduced after 6.5. ---------------------------------------------------------------- Baoquan He (1): Crash: add lock to serialize crash hotplug handling Domenico Cerasuolo (1): mm: zswap: fix potential memory corruption on duplicate store Greg Ungerer (1): fs: binfmt_elf_efpic: fix personality for ELF-FDPIC Jinjie Ruan (1): mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions() Juntong Deng (1): selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error Liam R. Howlett (2): maple_tree: add mas_is_active() to detect in-tree walks maple_tree: add MAS_UNDERFLOW and MAS_OVERFLOW states Matthew Wilcox (Oracle) (2): mm: report success more often from filemap_map_folio_range() mm: abstract moving to the next PFN Michal Hocko (1): mm, memcg: reconsider kmem.limit_in_bytes deprecation Pan Bian (1): nilfs2: fix potential use after free in nilfs_gccache_submit_read_data() Ryan Roberts (2): mm: hugetlb: add huge page size param to set_huge_pte_at() arm64: hugetlb: fix set_huge_pte_at() to work with all swap entries Yang Shi (1): mm: mempolicy: keep VMA walk if both MPOL_MF_STRICT and MPOL_MF_MOVE are specified Documentation/admin-guide/cgroup-v1/memory.rst | 7 + arch/arm64/include/asm/hugetlb.h | 2 +- arch/arm64/mm/hugetlbpage.c | 23 +-- arch/parisc/include/asm/hugetlb.h | 2 +- arch/parisc/mm/hugetlbpage.c | 2 +- arch/powerpc/include/asm/nohash/32/hugetlb-8xx.h | 3 +- arch/powerpc/mm/book3s64/hugetlbpage.c | 5 +- arch/powerpc/mm/book3s64/radix_hugetlbpage.c | 3 +- arch/powerpc/mm/nohash/8xx.c | 3 +- arch/powerpc/mm/pgtable.c | 3 +- arch/riscv/include/asm/hugetlb.h | 3 +- arch/riscv/mm/hugetlbpage.c | 3 +- arch/s390/include/asm/hugetlb.h | 6 +- arch/s390/mm/hugetlbpage.c | 8 +- arch/sparc/include/asm/hugetlb.h | 6 +- arch/sparc/mm/hugetlbpage.c | 8 +- arch/x86/include/asm/pgtable.h | 8 + fs/binfmt_elf_fdpic.c | 5 +- fs/nilfs2/gcinode.c | 6 +- include/asm-generic/hugetlb.h | 2 +- include/linux/hugetlb.h | 6 +- include/linux/maple_tree.h | 11 + include/linux/pgtable.h | 10 +- kernel/crash_core.c | 17 ++ lib/maple_tree.c | 221 +++++++++++++++------ lib/test_maple_tree.c | 87 ++++++-- mm/damon/vaddr-test.h | 2 + mm/damon/vaddr.c | 3 +- mm/filemap.c | 4 +- mm/hugetlb.c | 43 ++-- mm/memcontrol.c | 13 ++ mm/mempolicy.c | 39 ++-- mm/migrate.c | 7 +- mm/rmap.c | 23 ++- mm/vmalloc.c | 2 +- mm/zswap.c | 20 ++ .../selftests/mm/charge_reserved_hugetlb.sh | 4 +- .../selftests/mm/hugetlb_reparenting_test.sh | 4 +- 38 files changed, 455 insertions(+), 169 deletions(-)