From patchwork Fri Aug 25 18:11:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13366195 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 03D8BC3DA6F for ; Fri, 25 Aug 2023 18:11:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F177728009F; Fri, 25 Aug 2023 14:11:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EC767280073; Fri, 25 Aug 2023 14:11:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D8F0A28009F; Fri, 25 Aug 2023 14:11:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id C9BFE280073 for ; Fri, 25 Aug 2023 14:11:13 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 5D5FE1606F3 for ; Fri, 25 Aug 2023 18:11:13 +0000 (UTC) X-FDA: 81163418826.14.F1F32D4 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf04.hostedemail.com (Postfix) with ESMTP id 212C540020 for ; Fri, 25 Aug 2023 18:11:09 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=IkM01cKV; dmarc=none; spf=pass (imf04.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=1692987070; 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=UqV0MmR5aDgvJce4IVFhYpSKwAP5JSICKPF977jmHPk=; b=dvf/JMV8E1yD0Ady1tj7zOjQs+LA0Z7/GsXRULCu6QSTRpKsAzj52avKyEfJBOv9CcLJ0h uOSw2esXP8jnurePMOVtRQZmVP/7DkHNtlouk2fpYgTgfd7LOLibvh7GXrHS/FRI+3H5qZ quApgOXkCOaXxw8L6HgJ8VrPBsVNlQE= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=IkM01cKV; dmarc=none; spf=pass (imf04.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=1692987070; a=rsa-sha256; cv=none; b=xhZz35j0Wy19zKlNmymUw53csjSUQa6Z6mo4P+Fg5tkfWJ1fEPOz94DW3MNYMy9xV9lJGQ u5defqZyMmszRXz/jC3rTY2G6XUcoaLUAL4soM10WmJK2oEhXzDRlmAKoE9qYIciKv5YRT IgTDh6DIzqO2RhsHXJ9+z0Z3XFDkPcE= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AE235614D7; Fri, 25 Aug 2023 18:11:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA76EC433C8; Fri, 25 Aug 2023 18:11:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1692987069; bh=CqRDmZ8FlXZOuBuhi4oqiIATxpNhdyBrCLj19NbET88=; h=Date:From:To:Cc:Subject:From; b=IkM01cKVxfP75Na8tXz1BAs/FMSDqyDWtXf2qrqa91rmvUuEevLumcPPL8ut0rOJ6 wjcfLgVDq1U0gOtlGxjFfZjv9/1SWCkt+/+eDqSCEr+LOvgKAswG/OXDAksc0nrSJ+ AA2puOQdZkxbsklCCRPQGyJIIByS77lTlAhUEoKE= Date: Fri, 25 Aug 2023 11:11:08 -0700 From: Andrew Morton To: Linus Torvalds Cc: mm-commits@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.5 Message-Id: <20230825111108.898f1600c365d22f74e52c70@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: 212C540020 X-Stat-Signature: kk1cwj8kzk5pi6uj5ec48fwhuoakbuz9 X-Rspam-User: X-HE-Tag: 1692987069-509702 X-HE-Meta: U2FsdGVkX186f3WbB4cqfEEgijMtdsDnCK/wa9m7fkeOAsMpEGn7z4Bcl7Rrux9vaYsfpDw+BTxO1Bu5nfDofpXp2tu3A1/kcXcRVV39kKAFHxazg+RZMhLuoh0OvyUheh9N/zPkWvV+OvznMbyYZzdkDR1aW5FHJDnYpK1UTuWeu7JfeKAjHHkheecL/2qLr4yV1jVOInCe4ilHrxVlx73nwBalbg3NF9xBnl4FrYTAVx6m20mcylrCBaK6j8z0ZLb+c3xexiTOpvN+BjRZH78XbwAuvIxTxzWhIAUpWGP8dEVUd0/nZNJtPwItZMskrMdbkVAR3G7ck6F3oTyTDC0pycIocz3p4L5I6fnqnU7ijD5bcLnucyUpZJz5qhOYSINvKTrcxhYH3iaC1g0atx5Jxyj0qF9+ksVKAxiTp0wc3VWLo57eVxADeKQFLPv9J3dZBLXChsRchPnCSpd2/rGZ2cq30LQZ5QPqOkcVY1wNgJYMkp31Qk9wkaHd4canZSWmllzEta+GWEE0SchXigz8hCTGlss4h6qi7xsdDB/WNJMjhxZOyvGf1+m4LG/aZ90ejX3TMK+YrnrQ0zYYv472x8OvLrSmpeq9+sL6MHJu6gXomSsm0eLTbfOvyKToEcRaYSK39Vj9EU5XlrDrv34/Bcc6TKExDGuq2IfhV2zA3QXufbvyb3JhFhqPpvqbsZtLhFo4KAGYiuQpwzhQlNg7FQlGuY9wmiiGliyZUtYsi1ZuxzbZaNM09MwLZiOsg3yVDCbYSATBqRB+3yzcH+pWre92zly/vcEcR5Xxd9rIkTW9aWteHbkoUFl6981N2qSZh0Yzq7QfdhqRipEc9dtgXJYyUquYvLSH9DX30jSg+lVoWrnd5Ub2DRHhETcHXYIrr/qDFQnZREBUkjVUk090GYOtFiobe3ko6MqBFPqwvefQFFaD5FiBhEqymaEnwOOb8YoWzH+G+pue61G PbbzTyrJ Uo908pDTC2bHwzPNv4poa9UpgqygsBJs7MfbrT6wsMwwuRHhpRZEBWhKm6xDVZKFLIRt3zmNrDxx02/+QEU7N1OTX6tln6xVGcE8u+UEZqfPYuDha/X7wvKYcTpCt/Nu9Pz+Rqq0EAoPW6gGrjw/3aRHOoGyVkYM3/bwR1hXA/dahvTBmN4KUk7P9eBUMJrml9NYyMR+SQEySglfNzjwfJrVZIGJyJUk5IjPuYVWrDVSV0AoBWgtQyVVpwfYn1+h1nQx4wa9aWK9hoTGprZCUNVB7JQmLvB0DwdPI1vBUiuwFTcIIGJOK9qVUCE8y1VkjseAfAKkeDYK4UWCqTZrLgrjTF9K9SKcRcs7P2H9KDYlc9KsVHHDal1aeMGIG1opp4Hwn 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 5f1fc67f2cb8d3035d3acd273b48b97835af8afd: mm/damon/core: initialize damo_filter->list from damos_new_filter() (2023-08-04 13:03:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2023-08-25-11-07 for you to fetch changes up to e5548f85b4527c4c803b7eae7887c10bf8f90c97: shmem: fix smaps BUG sleeping while atomic (2023-08-24 14:59:47 -0700) ---------------------------------------------------------------- 18 hotfixes. 13 are cc:stable and the remainder pertain to post-6.4 issues or aren't considered suitable for a -stable backport. ---------------------------------------------------------------- Alexandre Ghiti (1): mm: add a call to flush_cache_vmap() in vmap_pfn() Andre Przywara (2): selftests: cachestat: test for cachestat availability selftests: cachestat: catch failing fsync test on tmpfs Arnd Bergmann (1): radix tree: remove unused variable Ayush Jain (1): selftests/mm: FOLL_LONGTERM need to be updated to 0x100 David Hildenbrand (3): mm/gup: reintroduce FOLL_NUMA as FOLL_HONOR_NUMA_FAULT smaps: use vm_normal_page_pmd() instead of follow_trans_huge_pmd() mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP-fast Hugh Dickins (1): shmem: fix smaps BUG sleeping while atomic Liam R. Howlett (1): maple_tree: disable mas_wr_append() when other readers are possible Lucas Karpinski (1): selftests: cgroup: fix test_kmem_basic less than error Miaohe Lin (1): mm: memory-failure: fix unexpected return value in soft_offline_page() Ryusuke Konishi (1): nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers() Suren Baghdasaryan (1): mm: enable page walking API to lock vmas during the walk T.J. Mercier (1): mm: multi-gen LRU: don't spin during memcg release Yin Fengwei (3): madvise:madvise_cold_or_pageout_pte_range(): don't use mapcount() against large folio for sharing check madvise:madvise_free_huge_pmd(): don't use mapcount() against large folio for sharing check madvise:madvise_free_pte_range(): don't use mapcount() against large folio for sharing check arch/powerpc/mm/book3s64/subpage_prot.c | 1 + arch/riscv/mm/pageattr.c | 1 + arch/s390/mm/gmap.c | 5 ++ fs/nilfs2/segment.c | 5 ++ fs/proc/task_mmu.c | 8 ++- include/linux/huge_mm.h | 3 - include/linux/mm.h | 21 ++++-- include/linux/mm_types.h | 9 +++ include/linux/pagewalk.h | 11 +++ lib/maple_tree.c | 7 ++ lib/radix-tree.c | 1 - mm/damon/vaddr.c | 2 + mm/gup.c | 30 ++++++-- mm/hmm.c | 1 + mm/huge_memory.c | 5 +- mm/internal.h | 17 +++++ mm/ksm.c | 25 ++++--- mm/madvise.c | 9 ++- mm/memcontrol.c | 2 + mm/memory-failure.c | 12 ++-- mm/mempolicy.c | 22 +++--- mm/migrate_device.c | 1 + mm/mincore.c | 1 + mm/mlock.c | 1 + mm/mprotect.c | 1 + mm/pagewalk.c | 36 +++++++++- mm/shmem.c | 6 +- mm/vmalloc.c | 4 ++ mm/vmscan.c | 14 ++-- tools/testing/selftests/cachestat/test_cachestat.c | 80 ++++++++++++++++++---- tools/testing/selftests/cgroup/test_kmem.c | 4 +- tools/testing/selftests/mm/hmm-tests.c | 7 +- 32 files changed, 279 insertions(+), 73 deletions(-)