From patchwork Mon Jan 16 23:27:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13103927 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 4D56EC46467 for ; Mon, 16 Jan 2023 23:27:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9FC006B0075; Mon, 16 Jan 2023 18:27:17 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 985446B007B; Mon, 16 Jan 2023 18:27:17 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 826726B007D; Mon, 16 Jan 2023 18:27:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 6C9CE6B0075 for ; Mon, 16 Jan 2023 18:27:17 -0500 (EST) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 395E1120203 for ; Mon, 16 Jan 2023 23:27:17 +0000 (UTC) X-FDA: 80362250514.25.3D729FA Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf27.hostedemail.com (Postfix) with ESMTP id B3ACF4000F for ; Mon, 16 Jan 2023 23:27:15 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=MtojZfle; dmarc=none; spf=pass (imf27.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=1673911635; 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=mvW+uST0O/ppmu0dtIM/yWVOaz7cjNOXaAtrZj+gJUM=; b=KgBBoleMnhzrDIYC9trnWBOJ3ZVE44a73aY9Hwi0CD3Z0Y3PLfls4QKZiS9zGBcFgN6245 S3iDls8QkslUNsxH0PpnD5wthKLXTPc2nf86o5VBhfcTV3LGZ/Z51RBV3cD/D3AAVs2edT cIHiAoXT+E1pEU0w5YNweFOcZYUlkpQ= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=MtojZfle; dmarc=none; spf=pass (imf27.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=1673911635; a=rsa-sha256; cv=none; b=vROEURrObUXwvMV4ZwvFmToJ8fhDS9O1BZsemqRKj25ha6pgNYlFERNXy7gEj57T4qHvy5 aH7FmQ+pGgnA+5ANxcMfo647SnbLM9D6vphkg8nLo8kIlhB7OK83U2eZcD/jQeQEIP0SiV PL6JN3oga9LCTMV6U9wwUdHvo2YQh1E= 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 dfw.source.kernel.org (Postfix) with ESMTPS id B42A861182; Mon, 16 Jan 2023 23:27:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4742C433D2; Mon, 16 Jan 2023 23:27:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1673911633; bh=V632Bd28v2EMXk0Fei3rjmAUh17bwMYhoHo8d1S5aSQ=; h=Date:From:To:Cc:Subject:From; b=MtojZflews1UjvQBHqIM/JsLiZym7kdv1szmh31jd1ofKm+uz7uUqQFX0G6M/2UZ6 MihBwRnpCuHRPl74BLCEH4XxHc2Qb2AcSOZadjYkUZD3KjEXnKO5KWHRM0DT28q1MZ 3FyJWmi2jm9Gm+yi4RNnIN2ngEeeB4pZ+pXwP8FI= Date: Mon, 16 Jan 2023 15:27:12 -0800 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.2-rc5 Message-Id: <20230116152712.612b60d26b497d1d5749f4dc@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Rspamd-Queue-Id: B3ACF4000F X-Rspamd-Server: rspam09 X-Rspam-User: X-Stat-Signature: 63bhc5hgsjd3fqx47scjhsjnqbsxw85o X-HE-Tag: 1673911635-15993 X-HE-Meta: U2FsdGVkX1/3FFlXg88XrAd8/2J/m/mT/+79AfByo6cc4Q6Gwr1D0/6EWS7sxAmKTFNRUn/Mp62/WGZKRvFJbe/rnzzEFtlZWYBkDb6vxLAvVfIvb24WtWwRHS1IOUcJextYfuZNF435uYPRN+h0n+5UxZC0QrY3nssayR0nfqzcIMse5SQ6fBc4gjvGDotPVwvbdfVgIzvnJYSACbFLJ1zqzfFj4Aq9xbUUJtsihRq26+k7h8iQxfIALRvQLFfMB+Vx7HVvLADxmuvVqk7wvZBRLnHofKRmbL5ItvmxPLiSJ0bPJE9sCzbN4pCWjdUCcqm/2NT0s8A0FCmfytXi+JLInQ0qbCBLioT+pqU6jbOBTkNbbg4avyStUzrLYtQNut9kg4I5R/w+L31EEQpXRTVty7gY4VMvOB4NE8Tu2AU6Blie2Qo+NwIxnATSukV2Fc9EvUKUtGVC00yZZ/0G4ArQXRPGDejQtGOzTQlGvjz/HrT8Eg5S7rs8AMdcDCCFF5bBtt2vF1+nCjryRzc/OWChNCKDa9XhytHpGfjkFb44YwL/PDb4TI3wrfWnVdYwx5kCjfS3mTRWf/YCsTcj6bLptIPxGWJVygPsBQ/UeFFKiQo6+P+qV63jz4GYlihfu7JI2lcixIySxM2U77EPhSsV4ZC3nKPmBWRg2YwE2RBS8LhJ9hQOaAfUEGZ+dU7NI2Vw4l35g1V/R7xNQKMbQT7NLhSEGQCn/EieiJiPL3OSghmieM7P8Gqe8kkOOyisK39gP3OjRXtMoRav32z2lbRbh155c3Qxt1TLk6bw9YNIPFKjvrXzXkAwVEfuGgwjkhf9fsGT9IRUTehRUQXjnt7OE9yc0Wq52SPsCAsGuOUF2cYvl05Zz15GqNfY5xoHFTvtJ8c8gGqihipXGAI5DfiL+evAIbdWnXgTVpz40Uiv/NbKDhhdV7LEEVG3TUaComdIO1Y5LYOvH+v4ok+ RjNn2py1 ndeZ1GQ+0Qken8Eimgurun63kd0NtvDBg5MWuAR6j+be8Ymp+4HeiF7KrRyBrRMyMhekUBRIb1fqFNlg= 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. As usual, mostly MM things with a handful of non-MM material. Thanks. The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262: Linux 6.2-rc3 (2023-01-08 11:49:43 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2023-01-16-15-23 for you to fetch changes up to 19fa92fb72f8bc542f1673862058f3b078114004: init/Kconfig: fix typo (usafe -> unsafe) (2023-01-11 16:14:23 -0800) ---------------------------------------------------------------- 21 hotfixes. Thirteen of these address pre-6.1 issues and hence have the cc:stable tag. ---------------------------------------------------------------- Alexey Dobriyan (1): proc: fix PIE proc-empty-vm, proc-pid-vm tests Andrey Konovalov (1): kasan: mark kasan_kunit_executing as static David Hildenbrand (3): mm/hugetlb: fix PTE marker handling in hugetlb_change_protection() mm/hugetlb: fix uffd-wp handling for migration entries in hugetlb_change_protection() mm/userfaultfd: enable writenotify while userfaultfd-wp is enabled for a VMA Hugh Dickins (1): mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma James Houghton (1): hugetlb: unshare some PMDs when splitting VMAs Liam Howlett (3): nommu: fix memory leak in do_mmap() error path nommu: fix do_munmap() error path nommu: fix split_vma() map_count error Lizzy Fleckenstein (1): init/Kconfig: fix typo (usafe -> unsafe) Lorenzo Stoakes (1): mm: update mmap_sem comments to refer to mmap_lock Nhat Pham (1): Docs/admin-guide/mm/zswap: remove zsmalloc's lack of writeback warning Peter Xu (1): mm/hugetlb: pre-allocate pgtable pages for uffd wr-protects Randy Dunlap (1): lib/win_minmax: use /* notation for regular comments Robert Foss (1): MAINTAINERS: update Robert Foss' email address Ryusuke Konishi (1): nilfs2: fix general protection fault in nilfs_btree_insert() SeongJae Park (1): include/linux/mm: fix release_pages_arg kernel doc comment Suren Baghdasaryan (1): mm: fix vma->anon_name memory leak for anonymous shmem VMAs Zach O'Keefe (2): mm/MADV_COLLAPSE: don't expand collapse when vm_end is past requested end mm/shmem: restore SHMEM_HUGE_DENY precedence over MADV_COLLAPSE .mailmap | 1 + Documentation/admin-guide/mm/zswap.rst | 4 +- MAINTAINERS | 6 +- fs/nilfs2/btree.c | 15 ++++- fs/userfaultfd.c | 28 ++++++-- include/linux/mm.h | 6 +- include/linux/mm_inline.h | 3 +- include/linux/mm_types.h | 2 +- include/linux/page_ref.h | 2 +- init/Kconfig | 2 +- lib/win_minmax.c | 2 +- mm/hugetlb.c | 99 ++++++++++++++++++---------- mm/kasan/report.c | 2 +- mm/khugepaged.c | 16 ++--- mm/madvise.c | 2 +- mm/mmap.c | 8 ++- mm/nommu.c | 9 ++- mm/shmem.c | 6 +- tools/testing/selftests/proc/proc-empty-vm.c | 12 ++-- tools/testing/selftests/proc/proc-pid-vm.c | 9 +-- 20 files changed, 146 insertions(+), 88 deletions(-)