From patchwork Wed Mar 27 18:32:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13607274 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 9AEDDC54E67 for ; Wed, 27 Mar 2024 18:32:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DACBA6B007B; Wed, 27 Mar 2024 14:32:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D5CBC6B0082; Wed, 27 Mar 2024 14:32:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C24656B0083; Wed, 27 Mar 2024 14:32:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id A39F56B007B for ; Wed, 27 Mar 2024 14:32:18 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 5A10EA0D51 for ; Wed, 27 Mar 2024 18:32:18 +0000 (UTC) X-FDA: 81943663956.09.D2A24A5 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf06.hostedemail.com (Postfix) with ESMTP id A38B1180018 for ; Wed, 27 Mar 2024 18:32:16 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=RsQHvkGK; spf=pass (imf06.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 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=1711564336; 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=IB2l8zCBlvDE7ld8hIqZpfKLFsmE33pY5nsOHZ0diXk=; b=ZxcIbnD6lGh6OCcxG3iaTbSAOVd1SRlbuq3DPQVDambnk0Dw5hDRS7XBE5QoDO6CHXBn1c bsuA0NK3JZw/jCqJbDy/skljGIbumVE1Rwu7uppZAWbMlBTEjJJMNR6984OcPBr9I6FAJm oiKrcxbWZPKlvTZSzeImh4x1/zJa6ME= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711564336; a=rsa-sha256; cv=none; b=O37Ps8Uve3N754WYVoXp/1xWBl61MPo79IJq3cVgocm2Gm7fm7dADV4y6b1fgQlXbiGONN i2QncFSbrKD/6Bl6XrNphISgZTVvNMRhT4sawc/wvYDDRWc+ywrdfl+s3y5uTWi0BgA8o6 M00n1m4bXHznGwXKXkMm0tOaSTrtVrI= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=RsQHvkGK; spf=pass (imf06.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C73DB615EB; Wed, 27 Mar 2024 18:32:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53853C433F1; Wed, 27 Mar 2024 18:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1711564335; bh=grX1DH7yM9NWRvLZabboI42gsdIFaYdeSY/rPjWV1VI=; h=Date:From:To:Cc:Subject:From; b=RsQHvkGKO1KiHSe/lopBY7UVNdobL371dIYPIiy1OWLmwVwBM6gCVniGyGcPf0nvI 9h5jtY2QwUYUYM/hN5N0vGpTRcjAj1WLGcfXyhuSUIbANRWBXwvS4hs7YxwbUW+upj OlxYsKLB81rzzC8xN5W3g52D9NW1LcgWPOvYoZjo= Date: Wed, 27 Mar 2024 11:32:14 -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.9-rc2 Message-Id: <20240327113214.f0200bec5624169a86371797@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Rspamd-Queue-Id: A38B1180018 X-Rspam-User: X-Stat-Signature: i56riirocx7c6qdgmx9oqwabhtrfyna9 X-Rspamd-Server: rspam03 X-HE-Tag: 1711564336-597496 X-HE-Meta: U2FsdGVkX195KBUlPDxna2cToKgUfiSz5i4YAgWdI3CYtyLNaC2iQNnE716xuxfcXvm7U0Ed8qk4J1hdK4mlRddw6V08NzV/AdyTszxpLChmFxJfvtLQ4ygw/Kg6EqT528T9xV7gwFLYOF+D0wd0i+v0qjL91DcWMFYmiUXQ5WXq9yvlksf6X47qoTDlKZSAr3kVSOFk13Xl+ORQeYbdV03li3zXsxQAONYCyDo2jKb5ghd4pkmk/FUAtEOsokXPo2fjJV3X+2zRxoVtV08LC2eriyQUb/yhemNokBdDBWctVPBEGTes44KPiSz3Ag+xlzoKTWxTT9BPF7HMVrWU0oww1aiKyBw1v2cJEjc5ceK/m8IuX7wq8rODry5F3PxFBntfHrep5bFbOtvRiuFbXHcyyDFtjQAY3B7n9u26HJ2M54Pc4AlCUD/rl6u3DzVJH9ArHQCNoykALYR+92rmMqQWugeSpMhfTOYhyox2/M0lEkHB2usnTW2K+G/RLuxdL+Y3EKyTEEubvYq0zK4xDow92PqNrSDQDK09nZgmfLxhkNS2BWugLfKKwZqRXMP/fKZfWEKA8p2iOotxINr2i6myQCdnW7pyaaMpu/GoYAKtli1qSnkToJePcKcAziZAvYWr60rNMeCzSUiiNhOAboSKgORbBpRrKzwpo3y+kYgIkUu7L8E5+Lhdn7JbIVGeWms/DjDKcfeUeyqrMxgvGFnrJ2HKKq0xmaHcs9KLzyxEJAVu6R8/pPbaYcLNTrDYLGAYlbCle7NUR8NkwRF9GN6sDSfFw0EZvIUS12cEmNGLi1SrNJobH0RZLBUbZjgKBajUBt9qs5GHrz3vahsdmQ8xlxwhs4jv+tDmaWMMh1JdEVM2z/1HfAbax2rdcnOKUCMFK6HWeeW+4otyMBFb8xurUjiPfPKLo8QerA9Io4SzrWqHLoZFb/5rwg3LtTOuv3A3Pp63fsKb0n+cnpW nGwQoTiJ HpHRUYYB71OmFY5S2h489al82TgxIP4yj9LqpAagmMMrs63gY5jKVBJYMbN0RfhTsHVEjapxOLbA9MIEJbHTr37AifXvpMGrfYgGaqoo9OeAekjXDShAJNiIwKBL2xgHwjf2h7swq4AEPP/Yd4WO8LzhLygS1c3+GErsD5kKcVAv2d0CJxYQQlCS7qQ3YgNRRFLTvS8O3jG7RTMUl4iaH7TPWfCpsf0Z+vgNLo2gEJY6DZHOd9Cwntb5MeY/FxPRZCQB7+BYin9mJh3625JkUgNgxpezkLiRGcjX8 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 4cece764965020c22cff7665b18a012006359095: Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-03-27-11-25 for you to fetch changes up to 32fbe5246582af4f611ccccee33fd6e559087252: crash: use macro to add crashk_res into iomem early for specific arch (2024-03-26 11:14:12 -0700) ---------------------------------------------------------------- 21 hotfixes. 11 are cc:stable and the remainder address post-6.8 issues or aren't considered suitable for backporting. zswap figures prominently in the post-6.8 issues - folloup against the large amount of changes we have just made to that code. Apart from that, all over the map. ---------------------------------------------------------------- Baoquan He (1): crash: use macro to add crashk_res into iomem early for specific arch Barry Song (1): mm: zswap: fix kernel BUG in sg_init_one Carlos Maiolino (1): tmpfs: fix race on handling dquot rbtree Cong Liu (1): tools/Makefile: remove cgroup target Edward Liaw (2): selftests/mm: sigbus-wp test requires UFFD_FEATURE_WP_HUGETLBFS_SHMEM selftests/mm: fix ARM related issue with fork after pthread_create Johannes Weiner (3): mm: cachestat: fix two shmem bugs mm: zswap: fix writeback shinker GFP_NOIO/GFP_NOFS recursion mm: zswap: fix data loss on SWP_SYNCHRONOUS_IO devices John Sperbeck (1): init: open /initrd.image with O_LARGEFILE Kuan-Wei Chiu (1): MAINTAINERS: remove incorrect M: tag for dm-devel@lists.linux.dev Leonard Crestez (1): mailmap: update entry for Leonard Crestez Lokesh Gidra (1): userfaultfd: fix deadlock warning when locking src and dst VMAs Matthew Wilcox (Oracle) (1): mm: increase folio batch size Muhammad Usama Anjum (1): selftests: mm: restore settings from only parent process Nathan Chancellor (1): hexagon: vmlinux.lds.S: handle attributes section Oscar Salvador (1): mm,page_owner: fix recursion Peter Xu (1): mm/memory: fix missing pte marker for !page on pte zaps Vitaly Chikunov (1): selftests/mm: Fix build with _FORTIFY_SOURCE Zev Weiss (2): prctl: generalize PR_SET_MDWE support check to be per-arch ARM: prctl: reject PR_SET_MDWE on pre-ARMv6 .mailmap | 3 +- MAINTAINERS | 1 - arch/arm/include/asm/mman.h | 14 +++++++ arch/hexagon/kernel/vmlinux.lds.S | 1 + arch/parisc/include/asm/mman.h | 14 +++++++ arch/x86/include/asm/crash_reserve.h | 2 + include/linux/mman.h | 8 ++++ include/linux/pagevec.h | 4 +- init/initramfs.c | 2 +- kernel/crash_reserve.c | 7 ++++ kernel/sys.c | 7 +++- mm/filemap.c | 16 ++++++++ mm/memory.c | 4 +- mm/page_owner.c | 33 ++++++++++++----- mm/shmem_quota.c | 10 +++-- mm/userfaultfd.c | 3 +- mm/zswap.c | 45 ++++++++++++++++++++--- tools/Makefile | 13 +++---- tools/testing/selftests/mm/gup_test.c | 2 +- tools/testing/selftests/mm/protection_keys.c | 6 ++- tools/testing/selftests/mm/soft-dirty.c | 2 +- tools/testing/selftests/mm/split_huge_page_test.c | 2 +- tools/testing/selftests/mm/uffd-common.c | 3 ++ tools/testing/selftests/mm/uffd-common.h | 2 + tools/testing/selftests/mm/uffd-unit-tests.c | 13 ++++++- 25 files changed, 177 insertions(+), 40 deletions(-) create mode 100644 arch/arm/include/asm/mman.h create mode 100644 arch/parisc/include/asm/mman.h