From patchwork Fri Apr 7 23:26:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13205460 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 245E7C76196 for ; Fri, 7 Apr 2023 23:26:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 69DFE900002; Fri, 7 Apr 2023 19:26:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6271A6B0074; Fri, 7 Apr 2023 19:26:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4C775900002; Fri, 7 Apr 2023 19:26:10 -0400 (EDT) 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 35B3A6B0072 for ; Fri, 7 Apr 2023 19:26:10 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 049EC41468 for ; Fri, 7 Apr 2023 23:26:09 +0000 (UTC) X-FDA: 80656180500.15.0510A2E Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf01.hostedemail.com (Postfix) with ESMTP id 498544000C for ; Fri, 7 Apr 2023 23:26:08 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="PJ/I30k4"; dmarc=none; spf=pass (imf01.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=1680909968; 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=kSd/X2cHd9ALXMts3W1k62RdnCrg/NMgxA3mQTezWCA=; b=RNGdTAvLrGNfyD9SqxZHMBHUFpF0Nasc32kOm5royXbRGdMm1fp0X0A6eFfKSNKj94Mtzu cp5hzM9zhD07REYB342NwPUEZo7lFvWnH8Sv50kZo6umnrCd4Y/bDA6aIR33//hdU6Om68 axYzeSRI6p3cOFqy0S7yjwnY1v1qazo= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="PJ/I30k4"; dmarc=none; spf=pass (imf01.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=1680909968; a=rsa-sha256; cv=none; b=DQxgyBOi9HDIKATiG64AvgeshbvYwU2+g94fkQAWgK9U8LxIGuJ4781OVuou2wZsllMKRO KhefhFrUBhhWV0WTVyg6P3/Jy3YEbSS7dRzUEH5Uz8HrUh6QSxFk6NGf25MhMGUvJKtlGl IObT4G47S9UF3HS9c7vYxqYq7utvOds= 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 5FD8B65295; Fri, 7 Apr 2023 23:26:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6B74C433D2; Fri, 7 Apr 2023 23:26:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1680909966; bh=dxn2vRSMifVPSaf3gd7lvky94H+Q3N4xYyyrkuKKcLM=; h=Date:From:To:Cc:Subject:From; b=PJ/I30k44nvfA5NBDQKlNIQiNxjPlI7WegcpxXQQJOx9HMsDaMU3h8zApzlBiE8pz RFq6CM8lefomd1TMwQUOXwEhYU/NRlfLfkuYjtGuuuZPrspdXPsqe/6uelVHuCH86I EZnsvj8a4Us4jYBJktUXq2+UF7XPaY7Nux5lSL7I= Date: Fri, 7 Apr 2023 16:26:06 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, mm-commits@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.3-rc6 Message-Id: <20230407162606.d7dd8c829b53a01f7c9f16d6@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: 498544000C X-Rspamd-Server: rspam09 X-Rspam-User: X-Stat-Signature: cb1zacfeqpxgoesut9kfggjz6mnjcwth X-HE-Tag: 1680909968-531626 X-HE-Meta: U2FsdGVkX18+0sLuO0yNRflqJJ58O9cCaWd7yg/Fc8hQfxumcY1MoeSPNq2XjM9mmXEDrvT1w5W+Bm42wMvB1Z9hvsH7TLEZm9E7mtZqQaMUvKA8GIKDdKTFGvyA3SQlQy7Dcbswv3tMyFYGg8MzLp9VC1XXdpvhl9wPTwul2AnyAhZ3jhA5E9moz8oytN0d6eMoJhVVG6mv1QvUhOPunqgOUIgQdU28OBSkxfhCCrk8xybkoqtmlqqwQuxNQ+gE9l6j84Mh4hYtLSeIFbHdTrvPC+Z6m0z7iWyve6+UR+gtxtaHBE1RlhJuIwaN9pjpf03b9tpXVwuNjRUIPU+FPrdE6BBhJV9jHYQNKGmgRRuvNJBpwBBY86DoAsuElbROcGta9hU9yek4PAJRQz7FT+A8vffln1v7xoBRr/ZON2e8h7dJBcSe92nlINKYg5LjiYASDVpeW/2oTc/iX+3tHF4SBXzgjp+l0tLpzS0w8rjiaJYmIqZaTZWYFylALCiS5Gkpehy6qft6J2p5CmK8eMQfgJne50VPDXtjeJLL0pQLE+p+jMsW0Wd6xIpQNNHd7+3lDWqjczh38i9ndmS+iERWXnU2rJgHzexA09c+hzoXmgF7fCA6I8nIyNjatvQqsM6X3rfnl0ABwG+bSQnamCe7hzj4ZghcEvS331NXldxXQnAsSmqgGlgHLMlJ2U3HXw54sUil8gPiGu3vDxg+sgGXo4+ARXddTodmYcobeiRYduxcFyoKvIomkBDGrAh4EFj/91ei7EzF+mMUUy2/oy8Mvp9nM2mu2cTjEyXOE8lb7zOlvUOHzYbU27YhaMrJLJVICoZ5fShPil6ko18w/37a0i9evDs5Wxv2TiB2O0XaL+n2D9ytC3xoOYlaQPDCQAx/P22+picI5Wek5pE2Qdrzpa7VvTD0DlNNqu8JlNEiPKdYsmdLOcRcs1tyKURUNckWV1ngQKQVy0W1o70 L/NSv+Ui xWpALQMKo6/pSLsj2zG2pc/FSglHCRa8c9ru6RTbmpxptMHnPkWZgmsZGMjp1KzLbqe68wWaPzxR+QAum9pe8gqy2PQ4Oj0WwT2EJeOoS16wKsE2BoPPJcLaN0jkeE58hCnL7fu5cNHfPoUU/zyVU0PH01DjFvZt+reM8D6UrV1OyMMqycRNFCtMYCDsRQNB5XvxgHHcQOFZXof+lihzWIN4TyJuVqMIJVtD9AehnlaffVq1HctnAyxPZd9KEK57OfP603tTfAdJeCejLRtuZ1pOEo7dY45Yo9Eoimfm98zb9D2kA1rlw+vlRzsBVfWlLEyRxdVK4IVsxefQ9iElbBVgNEGVnSLr/Poo1UrujWXKfB1HRe9e0k/FtnqmU3Bazxzfc9wxxdyZ+DdaJU6Fbtf74lQ== 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 another batch of hotfixes, thanks. The following changes since commit 197b6b60ae7bc51dd0814953c562833143b292aa: Linux 6.3-rc4 (2023-03-26 14:40:20 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2023-04-07-16-23 for you to fetch changes up to c45ea315a602d45569b08b93e9ab30f6a63a38aa: maple_tree: fix a potential concurrency bug in RCU mode (2023-04-05 18:06:25 -0700) ---------------------------------------------------------------- 28 hotfixes. 23 are cc:stable and the other 5 address issues which were introduced during this merge cycle. 20 are for MM and the remainder are for other subsystems. ---------------------------------------------------------------- Alistair Popple (1): mm: take a page reference when removing device exclusive entries Florian Fainelli (1): mailmap: add an entry for Leonard Crestez Leonard Göhrs (1): .mailmap: add entry for Leonard Göhrs Liam Howlett (4): maple_tree: be more cautious about dead nodes maple_tree: detect dead nodes in mas_start() maple_tree: fix freeing of nodes in rcu mode maple_tree: remove extra smp_wmb() from mas_dead_leaves() Liam R. Howlett (4): maple_tree: fix write memory barrier of nodes once dead for RCU mode maple_tree: add smp_rmb() to dead node detection maple_tree: add RCU lock checking to rcu callback functions mm: enable maple tree RCU mode by default Muchun Song (2): mm: kfence: fix PG_slab and memcg_data clearing mm: kfence: fix handling discontiguous page Peng Zhang (2): maple_tree: fix get wrong data_end in mtree_lookup_walk() maple_tree: fix a potential concurrency bug in RCU mode Peter Xu (1): mm/hugetlb: fix uffd wr-protection for CoW optimization path Rongwei Wang (1): mm/swap: fix swap_info_struct race between swapoff and get_swap_pages() Ryusuke Konishi (2): nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() nilfs2: fix sysfs interface lifetime Sergey Senozhatsky (2): zsmalloc: document new fullness grouping zsmalloc: document freeable stats Shiyang Ruan (3): fsdax: unshare: zero destination if srcmap is HOLE or UNWRITTEN fsdax: dedupe should compare the min of two iters' length fsdax: force clear dirty mark if CoW Tetsuo Handa (1): nilfs2: initialize "struct nilfs_binfo_dat"->bi_pad field Tiezhu Yang (1): lib/Kconfig.debug: correct help info of LOCKDEP_STACK_TRACE_HASH_BITS Yafang Shao (1): mm: vmalloc: avoid warn_alloc noise caused by fatal signal ye xingchen (1): Kconfig.debug: fix SCHED_DEBUG dependency .mailmap | 2 + Documentation/mm/zsmalloc.rst | 135 ++++++++++-------- fs/dax.c | 52 ++++++- fs/nilfs2/btree.c | 1 + fs/nilfs2/direct.c | 1 + fs/nilfs2/segment.c | 3 +- fs/nilfs2/super.c | 2 + fs/nilfs2/the_nilfs.c | 12 +- include/linux/mm_types.h | 3 +- kernel/fork.c | 3 + lib/Kconfig.debug | 4 +- lib/maple_tree.c | 287 ++++++++++++++++++++++++++------------- mm/hugetlb.c | 14 +- mm/kfence/core.c | 32 ++--- mm/memory.c | 16 ++- mm/mmap.c | 3 +- mm/swapfile.c | 3 +- mm/vmalloc.c | 8 +- tools/testing/radix-tree/maple.c | 16 +++ 19 files changed, 402 insertions(+), 195 deletions(-)