From patchwork Sat Nov 12 01:12:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13040969 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 24EEDC433FE for ; Sat, 12 Nov 2022 01:12:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 86C9E8E001A; Fri, 11 Nov 2022 20:12:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 81BCB8E0008; Fri, 11 Nov 2022 20:12:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 70AF38E001A; Fri, 11 Nov 2022 20:12:07 -0500 (EST) 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 61F148E0008 for ; Fri, 11 Nov 2022 20:12:07 -0500 (EST) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 31D1440D58 for ; Sat, 12 Nov 2022 01:12:07 +0000 (UTC) X-FDA: 80123013894.24.3A4C011 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf08.hostedemail.com (Postfix) with ESMTP id 8EFF1160009 for ; Sat, 12 Nov 2022 01:12:06 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9E898B8280A; Sat, 12 Nov 2022 01:12:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 310E4C433C1; Sat, 12 Nov 2022 01:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1668215523; bh=5P/vkTNNFYnVUsCFF39aI25rT70+cTZdi40D+jKi23M=; h=Date:From:To:Cc:Subject:From; b=u4vKfhgCvN/w6LJuS2YUYYhBQ6RBcfR1z7zw2L10S0NdfdcnrqC/EkfASjQPYEG4H BQzCKZFQ1zoBJjdg9o2HfT3uFLtgqypTUhDyfQEeLgxEVs061qmJIm+JZgIKuybf+L oNbRXfnTHb0VZBk1eedIQUHSn2CPQuticaDm4xcM= Date: Fri, 11 Nov 2022 17:12:02 -0800 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.1-rc5 Message-Id: <20221111171202.b8b7ff671c97cb9782ad8e78@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668215526; a=rsa-sha256; cv=none; b=b1RtIGH68DrdCBcjiRKP1ZqDd8vJ8GVFxIIOPjhpW/apqgJuSiTzKiL1dmkHbQ/au1Wlfe nPXQMxJ9bTEh8aupdErZp4wQ0yZjfxmwDTCtnX85OBC6yIeXUmxXRvxuzu/KDTpTqUuO6I 1mPM3cFQkTo39RO0yIGlEjUgFl9tiQY= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=u4vKfhgC; spf=pass (imf08.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 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=1668215526; 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=DsNwBkGndgrv2mRoWeLi1gE8coAKfWTRvwi05DcQJKM=; b=FjzJtS9CctXHsfDkqy8hXIMPWWfrXVIZdUEWGLKdAoHvzJ4pzUcqe6HQhYapfqOgVhe799 xtJrCQCc8EPK5aGqFJWfQeFeOQQxorbPg8mKl1YaHfQdjf3Aw/bVA9m+y65mFJS9hFoK1C iWW1MGayYhuwNA8iYT63yFIysbgIoIg= X-Stat-Signature: 7yok5g1wegtq7qdftqahs4rzbhz363q6 Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=u4vKfhgC; spf=pass (imf08.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Server: rspam10 X-Rspam-User: X-Rspamd-Queue-Id: 8EFF1160009 X-HE-Tag: 1668215526-869124 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 hotfixes. Thanks. The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc: Linux 6.1-rc4 (2022-11-06 15:07:11 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2022-11-11 for you to fetch changes up to 436fa4a699bcd1c368bea9199e22b0a1b9cf9e0f: docs: kmsan: fix formatting of "Example report" (2022-11-08 15:57:25 -0800) ---------------------------------------------------------------- 22 hotfixes. 8 are cc:stable and the remainder address issues which were introduced post-6.0 or which aren't considered serious enough to justify a -stable backport. ---------------------------------------------------------------- Alexander Potapenko (6): kmsan: core: kmsan_in_runtime() should return true in NMI context x86/uaccess: instrument copy_from_user_nmi() Kconfig.debug: ensure early check for KMSAN in CONFIG_KMSAN_WARN kmsan: make sure PREEMPT_RT is off x86/traps: avoid KMSAN bugs originating from handle_bug() docs: kmsan: fix formatting of "Example report" James Houghton (1): hugetlbfs: don't delete error page from pagecache Johannes Weiner (1): fs: fix leaked psi pressure state Li Zetao (1): mm/mmap: fix memory leak in mmap_region() Liam Howlett (5): maple_tree: remove pointer to pointer use in mas_alloc_nodes() maple_tree: mas_anode_descend() clang-analyzer cleanup maple_tree: reorganize testing to restore module testing maple_tree: fix depth tracking in maple_state maple_tree: don't set a new maximum on the node when not reusing nodes Naoya Horiguchi (1): arch/x86/mm/hugetlbpage.c: pud_huge() returns 0 when using 2-level paging Pankaj Gupta (1): mm/memremap.c: map FS_DAX device memory as decrypted Peter Xu (2): Partly revert "mm/thp: carry over dirty bit when thp splits on pmd" mm/shmem: use page_mapping() to detect page cache for uffd continue Ryusuke Konishi (2): nilfs2: fix deadlock in nilfs_count_free_blocks() nilfs2: fix use-after-free bug of ns_writer on remount SeongJae Park (1): mm/damon/dbgfs: check if rm_contexts input is for a real context Vasily Gorbik (1): mm: hugetlb_vmemmap: include missing linux/moduleparam.h Documentation/dev-tools/kmsan.rst | 1 + arch/x86/kernel/traps.c | 7 + arch/x86/lib/usercopy.c | 3 + arch/x86/mm/hugetlbpage.c | 4 + fs/btrfs/compression.c | 14 +- fs/erofs/zdata.c | 18 +- fs/hugetlbfs/inode.c | 13 +- fs/nilfs2/segment.c | 15 +- fs/nilfs2/super.c | 2 - fs/nilfs2/the_nilfs.c | 2 - include/linux/maple_tree.h | 7 + lib/Kconfig.debug | 6 +- lib/Kconfig.kmsan | 1 + lib/Makefile | 1 + lib/maple_tree.c | 58 +- lib/test_maple_tree.c | 37926 +----------------------- mm/damon/dbgfs.c | 7 + mm/huge_memory.c | 9 +- mm/hugetlb.c | 4 + mm/hugetlb_vmemmap.c | 1 + mm/kmsan/kmsan.h | 2 + mm/memory-failure.c | 5 +- mm/memremap.c | 1 + mm/mmap.c | 6 +- mm/userfaultfd.c | 2 +- tools/testing/radix-tree/.gitignore | 1 + tools/testing/radix-tree/Makefile | 19 +- tools/testing/radix-tree/generated/autoconf.h | 2 +- tools/testing/radix-tree/linux.c | 4 + tools/testing/radix-tree/maple.c | 35770 ++++++++++++++++++++++ 30 files changed, 37118 insertions(+), 36793 deletions(-)