From patchwork Sun Nov 10 09:45:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13869785 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 EA8D0D5E38F for ; Sun, 10 Nov 2024 09:45:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C45626B0082; Sun, 10 Nov 2024 04:45:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id BF4996B0083; Sun, 10 Nov 2024 04:45:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AE4586B0085; Sun, 10 Nov 2024 04:45:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 91A2B6B0082 for ; Sun, 10 Nov 2024 04:45:12 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 03003813FF for ; Sun, 10 Nov 2024 09:45:11 +0000 (UTC) X-FDA: 82769700048.13.E0CCC5F Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf19.hostedemail.com (Postfix) with ESMTP id 553741A0008 for ; Sun, 10 Nov 2024 09:44:21 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=Lq7AHUTd; spf=pass (imf19.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=1731231823; 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=heYpQkcNg877huk03wfONA+rPhaLf/1SXe03AgKt1xc=; b=br3t4VnHw5tLlrmwpFxZYMIfHE1i/hP+ZWtTxDsu6CY9WphD0bEKuaPiceicR19NJcb3WR UNhY38IIytZ133S3cEgzuVWN9Ii+LmgLOYjdNTaazwFLbEce0HKuKlF5qAfoS4XR2gnNSC mgKgAyD8LoMTSY2WC/ODKCqcnnTZwws= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1731231823; a=rsa-sha256; cv=none; b=uwhLSNofyC3q/hTCP8ic3JC6rkoUeiBSHXXIiNyZr9I7BU5qDkh5hvqD6llYk0uinLCLs0 grIR81aGE2FXiPfZPDdIyYt+hTtqXOzJMcX/oBb3LiCDv7Tsix+dcpbr4z4xwlc9SG863Y OjR4SS8ARL4uuzxp0l1aZC48nWyvvvE= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=Lq7AHUTd; spf=pass (imf19.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 DC4675C0A1F; Sun, 10 Nov 2024 09:44:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E42F8C4CECD; Sun, 10 Nov 2024 09:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1731231909; bh=3wkqWUW1Et9tJfzKL8re7wqENmSdU2idaeVd1VHX6sI=; h=Date:From:To:Cc:Subject:From; b=Lq7AHUTdnpLeFWV+SBSARtLlOlsAi9H51J3zbCaaf25XPbcA/kmhlZToj5REz3lJ4 1FVqxt8SYyFmeETNzv+Xda8uTSO7E6h1D/AemfF/5tTxPfMY6HSjBodh5Hx0rkvVKj Bihi3qQOoHVYeMoLrnMgQTVbegr+/ybfv5VYeB9w= Date: Sun, 10 Nov 2024 01:45:08 -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.12-rc7 Message-Id: <20241110014508.c2626adfff36ba70af88b0a0@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: rspam10 X-Stat-Signature: twa8bujio6fup1sumi5h3k1by68cj3gm X-Rspamd-Queue-Id: 553741A0008 X-Rspam-User: X-HE-Tag: 1731231861-522139 X-HE-Meta: U2FsdGVkX183ZSCHALc1hK5lrDCT5tZ7UsgUwX0+knZvRtQH5nD0Rj9oTsMcQrYLdroIaim7MoGQdkO1bNF+zj3WnJsaub/ZPn8OEd7Hz/9xP3mlZl8PaP6iXqzn0JEPRaLO9FetNR+TGtVJp7WnXl0PU94X3211u6oTfH1qmc2zS4Q/ogmLAdHN0SJsvNV22+lb0jzy5H8OeXnXFNaqcPatvLj03m8HUe9MMbXs4oO3as9uP4LdArqt8ptZuZHmNLlLdDJcChEqx8e/TG0k++PTfGPu/U9MzN1aAejyxBxsObp/ZtghbKlhme53oVV+v7CfSH2+drJ6FBIc/PhHIQSM/GeUo13lF31rl4Q9YUmgftPi0PQpjGVLD0lIruRAsEy1iPvvSMki9CD8ZpTNXCNVlKPDdYsTGg67KU2Isp2G8xMOlJ8KNb/0pTsVdSuuDgizWqugVAVcYbrrO+KlkZAbUuUDKWw7/VQad0vH0jzyv35gqYQzMDHJx5PVMECVkHz7dkcY8Jq/n8S8a6OdSSUxFCbJMMg1j3q65tPnL7I6MIJm8yTl2ZqtSfNavPA83nuZbH9j6FL9qwvhJ9CnAiUmytmiXXES0V+2wEOQ5tn+rEAZwdvvMcfV6FupCo9wRSgMUGc8uMRkbqZXvJcTU2zdva8V41G8BZ62e+mSSXmBqbf5f9DKctk/FNwnIUbAvITrxQRXR4HiWcGHCCNH6dAl4jKtKmCY6ti8xZ2XLfEZi9UTGigHcMXsSk4AE1EGkITq06HlCbXBICco8LFWq4r7Tqh6l8uK+8ZAyTnNiFGJOSsKM0NR8+TYFbu6DYHHuP/BMIo7VgZ+jh0YzLoQAzAk4LZxqXtA4Cx25IyTlL6dUpazw7njOQbqC0TmD/ABc+4SLlEakF/Zb4a2A0U/IFC6mlxfreSs5qUsra7QulQLGpM36DJ2gkso7q663wzX0mjZkwUapdnVqSF9HkB nOHrSRAE K6lkWkYsVtSLFGtbsp+4uIM4bSkNYb2j78TiJRWw9ir88lcM1An8PBJwzLa4yBl969YJMNQpT6w+OM3zHzc0T0Bgm6wDZB/b4eGEuDi6Wf3qmlBEQvzTlvn+dQ0hK3XAtg3JflYhQjlkXu/790VggNijx7wCGxEkRvGyR/TAlCwJusg4fcdlK3Mye/ZToGKh+Y1G3ovfNQt20VLz74mMf2y0CcWxyI7UGOIEy0AR1l065h9f6nrxclx/pb8W2Hatk+Q0P4vJQXFMFXUDGISl+Cu1/4Q== 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 pull this batch of hotfixes, thanks. The following changes since commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230: Linux 6.12-rc6 (2024-11-03 14:05:52 -1000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-11-09-22-40 for you to fetch changes up to c289f4de8e479251b64988839fd0e87f246e03a2: mailmap: add entry for Thorsten Blum (2024-11-07 14:14:59 -0800) ---------------------------------------------------------------- 20 hotfixes, 14 of which are cc:stable. Three affect DAMON. Lorenzo's five-patch series to address the mmap_region error handling is here also. Apart from that, various singletons. ---------------------------------------------------------------- Andrei Vagin (1): ucounts: fix counter leak in inc_rlimit_get_ucounts() Andrew Kanner (1): ocfs2: remove entry once instead of null-ptr-dereference in ocfs2_xa_remove() Hugh Dickins (2): mm/thp: fix deferred split queue not partially_mapped mm/thp: fix deferred split unqueue naming and locking Lorenzo Stoakes (5): mm: avoid unsafe VMA hook invocation when error arises on mmap hook mm: unconditionally close VMAs on error mm: refactor map_deny_write_exec() mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling mm: resolve faulty mmap_region() error path behaviour Masami Hiramatsu (Google) (1): objpool: fix to make percpu slot allocation more robust MaĆ­ra Canal (1): mm: fix docs for the kernel parameter ``thp_anon=`` Muhammad Usama Anjum (1): selftests: hugetlb_dio: check for initial conditions to skip in the start Qi Xi (1): fs/proc: fix compile warning about variable 'vmcore_mmap_ops' Roman Gushchin (1): signal: restore the override_rlimit logic SeongJae Park (3): mm/damon/core: handle zero {aggregation,ops_update} intervals mm/damon/core: handle zero schemes apply interval mm/damon/core: avoid overflow in damon_feed_loop_next_input() Thorsten Blum (1): mailmap: add entry for Thorsten Blum Wei Yang (1): mm/mlock: set the correct prev on failure Yu Zhao (1): mm/page_alloc: keep track of free highatomic .mailmap | 1 + Documentation/admin-guide/kernel-parameters.txt | 2 +- Documentation/admin-guide/mm/transhuge.rst | 2 +- arch/arm64/include/asm/mman.h | 10 +- arch/parisc/include/asm/mman.h | 5 +- fs/ocfs2/xattr.c | 3 +- fs/proc/vmcore.c | 9 +- include/linux/mman.h | 28 +++-- include/linux/mmzone.h | 1 + include/linux/user_namespace.h | 3 +- kernel/signal.c | 3 +- kernel/ucount.c | 9 +- lib/objpool.c | 18 ++-- mm/damon/core.c | 42 +++++--- mm/huge_memory.c | 56 +++++++--- mm/internal.h | 55 +++++++++- mm/memcontrol-v1.c | 25 +++++ mm/memcontrol.c | 9 +- mm/migrate.c | 4 +- mm/mlock.c | 9 +- mm/mmap.c | 130 +++++++++++++----------- mm/mprotect.c | 2 +- mm/nommu.c | 9 +- mm/page_alloc.c | 16 +-- mm/shmem.c | 3 - mm/swap.c | 4 +- mm/vma.c | 14 +-- mm/vma.h | 6 +- mm/vmscan.c | 4 +- tools/testing/selftests/mm/hugetlb_dio.c | 19 ++-- 30 files changed, 329 insertions(+), 172 deletions(-)