From patchwork Sat Aug 19 00:43:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liam R. Howlett" X-Patchwork-Id: 13358404 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 AF326EE49A0 for ; Sat, 19 Aug 2023 00:44:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C2B66940079; Fri, 18 Aug 2023 20:44:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BDB73940012; Fri, 18 Aug 2023 20:44:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A56BF940079; Fri, 18 Aug 2023 20:44:12 -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 91811940012 for ; Fri, 18 Aug 2023 20:44:12 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 5D06B1407E9 for ; Sat, 19 Aug 2023 00:44:12 +0000 (UTC) X-FDA: 81139007544.12.7E5670C Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf05.hostedemail.com (Postfix) with ESMTP id 2045310000E for ; Sat, 19 Aug 2023 00:44:08 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=OTto7UsN; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=AAtTTzW7; dmarc=pass (policy=none) header.from=oracle.com; spf=pass (imf05.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692405849; 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=i+HU5Hf6zjIW6IowZMGU4MJxWA5ebglQke5MHuyoYdI=; b=k1fyqsO/87rwkLnB9igF+mDrHkTXOYFd98zXppazWQuENbjCrKvQJA89N71jDSxopGaK0Q JjNhWBjHlu0BwQETVNXzdLBmLd4H+UAHiYUiK0W6V6YmmCzUOUksENtA8N6tCIVT/G+MVj 6Aq6znP78RKDP7OdqTsLOCLOjyH8g8s= ARC-Authentication-Results: i=2; imf05.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=OTto7UsN; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=AAtTTzW7; dmarc=pass (policy=none) header.from=oracle.com; spf=pass (imf05.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1692405849; a=rsa-sha256; cv=pass; b=7ZQgNHpnNDMZmQp1Wi9W1FXn1/pvzTxk/dxy4yhrhpO1rVVlLCLorWCJfIezeofs6d6nWI hSVld13SHKt6zfmfXEp9FJjsja7MLb3pPB/t3hM7aeZLRzR/P23CkmAxyJl/HT5z8zaq/4 jpB+GN0fsRG/NI62Fgqkbu+5x0MdYkQ= Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37IFnlHj023107; Sat, 19 Aug 2023 00:44:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=i+HU5Hf6zjIW6IowZMGU4MJxWA5ebglQke5MHuyoYdI=; b=OTto7UsNz5Y5DX1zoljuzWVB6aaYV3uA+cFO029fsdzlBBTJ4+T6DctEtcQHtV79GkMR a+w7l4SyAowsdGGvMG7Nt/YUd0dC9MKkEvQMrYHrELa7SLpUEZNfWS4SG2+jdBYSaQli WUZsdxLZbE8+QEU/QAXdikGavMkDqoEh6HTngrkKD1LJ5O/UzRIkfB8h8LpnC0YOKdA6 5uSXhNtfq2fCms50g+AKZ381GjwGCk4i/G0A9il8Wtu6JE3SgyfUjGqvSN0dVoxcp4Fe 5RP2Yod0WMGzpJQmifWhetSRbm2BrJIOa+2ip24+cgx/0k5G5qtyQzT0XmgNm8HwqYrV /Q== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3se2yfvs3d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 19 Aug 2023 00:44:07 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 37J0H5Q3003884; Sat, 19 Aug 2023 00:44:07 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3sexypjm3t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 19 Aug 2023 00:44:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ax61+l0ryiknnVInrmVWCwkCvVvc2fzDuFlri1vPxZtdmUvxUldrx2idtRb/iQ2DG2CxjHBo9kUiCX20UjzdVzQ1NRVxkW7Pxb98j59alyIm3aAy/4ltXkl+oTFaOmPJ6o4DdjYvkBSgBxhVT0Stv9P/UAPoM+CIlPnp+3fKNXEu/cmTTeapIg+0O3zNCNpZA6qYCj51l3sF382ptvaW/k4xgiYwb8hHqqtBGr84MdWj281njF8LjzsAJ5N3/DfAIMXm8ocuDUAIpmqVOdMLvA3e8i0u732EgRECaDsX/YFvsHs7dQ/j+aSC2UXM62wsluPsJ5JTulNv1ZPVy4OmGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i+HU5Hf6zjIW6IowZMGU4MJxWA5ebglQke5MHuyoYdI=; b=doYwo/X2F+JoJUMl4PNHhjxACLtWMOpaxPsSrno4WBh8il+uPh/n6qTNir/OvTDbrHBx6WGII2Jcnyv9H9P/5DH1hUA+j/vhswRgoPOVXnMYhPp8bIFRIlp6wO0sJ15k4rfJ/KGL+NWbOUqqRO+DqRYQbwfAdEeScZJ7m2fQVpn4swEgO7zwj7g/MyrdxmfAKGYWTcHDdwUTEJhAZDOk8kRwxRNLyj362+MQyT+ordZrrBQrHfwEx8JOC4tI4O8Lh10sEl06OUOWlPblQu+nE1dpEAio917m3ustUIKOvXzvXcZr0wyHsKPNuWmxOFzZ/OmFO+WjQdLd1jrVbYUo3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i+HU5Hf6zjIW6IowZMGU4MJxWA5ebglQke5MHuyoYdI=; b=AAtTTzW7ThbbuW+o4qKzV5A4Dm4pREZkmUfQWdsK/o8PtlYJRUWH/Jsk/P5aoG9nZn7sWSanpk98VIM1JsrHKIkfwWhNgqeBUHKSMFWajamBCngtKJv3lkVGWFC9/q0Uw/qZv1Qwp4jhpoVsK114FHwZWmLl3M2AFbU7LNxr+sw= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by IA1PR10MB7167.namprd10.prod.outlook.com (2603:10b6:208:3f1::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Sat, 19 Aug 2023 00:44:05 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::26d3:6f41:6415:8c35]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::26d3:6f41:6415:8c35%3]) with mapi id 15.20.6678.031; Sat, 19 Aug 2023 00:44:05 +0000 From: "Liam R. Howlett" To: Andrew Morton Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Liam R. Howlett" Subject: [PATCH v2 0/2] maple_tree: mas_wr_append() fix ups Date: Fri, 18 Aug 2023 20:43:54 -0400 Message-Id: <20230819004356.1454718-1-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: YT4PR01CA0116.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:d7::27) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|IA1PR10MB7167:EE_ X-MS-Office365-Filtering-Correlation-Id: 18b19956-16c7-4308-5df2-08dba04d63c2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n/hOS3HTBHIlPfoUZ2kcEyGPU4nlM27xTjcMRbM3fCrtYFfBD0rRZW6bc5FS1Co2Y8uRKIf4f8/RqrJWeyBK9/kPCTdIgbqVPveLkoNTCI04HvgF8+HLJvkqC9AuRIQG1zsEw8i45MbZ9bAZuWIpRV7R07BJ7RwsRoKrM1BP7uOGS66cQpGPJ9VeB2+PZY/DIQmadFRUQxw6ElaKFjTTmqfOgR7I8e2m88xDv43Zzm+VeyrtPkc83u2WbhZDM+wzJVFhDewzgDTR3uJqn4IwjDlK/mlURmg0wPId1LPs0i97u3sixii9ae7YsV1Sk1MD/+NcpgKSANbVLGTIXmBz6GxaolmNzUMiQ6tnaW+qc1JsMh1r4OqMvVakpujnCTvBezAm68XaOjs26OoY4pBBfOqHB+vyLLk3C0XW21TSQMN5pFpdxTkySOkfpcCmo+8JydkDxDVYfgzyn02UWBbpbT+mtC5OCMZigOGwI+Q6exfwSPON+pZ8x2lj/mM7TEJF9O9DfRQj+YfMEq9mtqWgVpC2wfP4MO5pOInoE9c6JeQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR10MB3022.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(39860400002)(366004)(396003)(376002)(1800799009)(186009)(451199024)(6666004)(6486002)(6506007)(38100700002)(6512007)(107886003)(1076003)(83380400001)(36756003)(26005)(2616005)(66556008)(316002)(2906002)(6916009)(66946007)(66476007)(41300700001)(4744005)(86362001)(5660300002)(8676002)(8936002)(4326008)(478600001)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nPjGLqnpp+A11w6iOagsH2Au9VWpgkfzmfObEsJpvM8eiSKEdmDg7XUgtq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r9K3um0okPZbzBWoq5M6EyS8lGXhQJpjEV0fUBaLiJZ3zvRzQGqXoPeXnbuK+gLLmzI1/Nu3VN7cf452TLDb2QEoN16yvK5F2r4+MtvUw1u1UXTvSJFVqWbV1cqG0kRgOgxFG6CMegLjzPSOkOm7aSrYxIwiUdTQ1QZf/Jzu3kyJCcy/hqdqqApxfLmx9JukeqAE1JaaKBSRm1T2oUcai28OWHc8caO0RpWEjvO/Mp0EOwC/5JwM+9OYJeBjMcsVexB8Lx7P7RFVM6swe5Byf5RjYupMUjr10dMlKv+714Qo0HuxOcHbodQVFh34ch1un2ojQ53TErP4t8SxKXdEV+kZF3/RNWmp1C8p5zA08vbP0/59NW2DT/Q== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18b19956-16c7-4308-5df2-08dba04d63c2 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2023 00:44:05.1665 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5iiPL8ofTUirLCo4bQJ9Gldh/D2iM50cpSMl4lkKgA/HCX7g50T2I0/YslRbnR4LQ0l8MQtLKKnVOxLJA3FHQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB7167 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-08-18_29,2023-08-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 mlxlogscore=468 bulkscore=0 phishscore=0 suspectscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308190005 X-Proofpoint-ORIG-GUID: -YkngMy91vgSNZmFXRWud9Gkd3Kfg94J X-Proofpoint-GUID: -YkngMy91vgSNZmFXRWud9Gkd3Kfg94J X-Rspamd-Queue-Id: 2045310000E X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: z96zdr1hauur1jeyre83mczqejsn77xg X-HE-Tag: 1692405848-783545 X-HE-Meta: U2FsdGVkX1/bTiH8dyh+PcUN96yWh66fYRG63kyYgsTzRTAy4RSI70KQoqq+GYByFGATf646/XtV7BiJIsX8jEbeR3dLB2F6wCt+o7X3pr9pzXDfsSXN5K9PcjQTohYKqO8jVSvbTe576tSLXlZMuVS5F1vSwYZuVktf2zv+A6tGDxEJMbJdD+1dNZdUV4DMC2+w8OyGz6e0lgYtVQlvSj0i1PFSQ6sGtp/SsU2UavOEUJSZWmb9daX4ceRVy7y0TS12YYIuJn6gqtzM7Bn4SHDnlk0NPEuwCH4Rd+Qv4vDewMO7ZhFo8zX7SFi+yfIH74vXvDuXDjnl1zn+ZB8tNhOU3mO1CvPfwN5+alVSS/FbTafN7Ita6INyvpTpqPZIumESCWPnCB8LAWuhnI3HDXSGb9ER1oZTng62nMRqY4x3MZ0Cj83/qaC3S0Ivv2A2OZ7Vc0w7evI98s2skXQvHFc5Nc2C3zgOpV0QZ8ReruUrPKJNtqdOaJ0rqNH8Tk62tkn4Z29y+4iJtv4asywfLk0S+qER211HDJjC6GC38NrFgadxCrbaYtM4bBax6V8DfYkBmdifVLxH0+sCCeadUg1nhaUASvxDqbjIw1hmziYzERWDWlLp1n/GQkqcOzkzJV06vvzB17+Fy5LojrBYR7nZ5yeHbBD9LleHuEJMsWdfMhBiyqzRDHCZKn9cRlnenPtCNDroHxRieEagAE7WL0wEbEEgFQP0TW4C7hwdgjwVwHEW7vsYnlXnysHDECvMIbzn2BfsVCa+QtgobH99zQWGT/0mtqAvQRj9SFCkPS3ta1edOwGbD8T2jbCjTWPhHRnuJaAXn554MX10qWCYqaSW3kpuX2rKr8i2uiPew3uwrdwu5qfWptrchuQWHsLeDjX2weSqBUm/yc3aIu/gUV5v4PRVswfXxSCB0K+o7Xq05NCz4K0eZ5RMbei0t4sBKRNRRwwCQaNy7W+ejEb UmRSWIsz Or9xu0Yx3IC3AC0wXYGL2ak3CxnQgIUuT8Hse9dM9bZ32M1ukelrs5Hdl70LGMkRCdUOD2mT0AXq8i/0YrlRaP4diN5uuFbHHk3LXkyvVNLJp9Fe9ipsSe2OIOUH4UIUHlvnCFvXRCxJgWT4H3jVe97UzCgpGLklAx2DEZUePs8WV8gC99oVojuR9JS1pDGSidMQyDGnFR9+eu8vIkn2SlD4e2TRcWd/PdOz6nokOX1Whw6xfIGXgICp9E3UXNiDf5wmiyzDD6qAmoMQZrM/jYQM38MqKDoakP9Of1LF3RBXxkcXwPMcjVFwAdPHuqHoitNTC4svk/s24N/sJ+2vjErdy0Z53VyUAI013tA8FWXPJEvu13lt+e43/9wOKeiIqyIiK1SA6Nl+q+8pNpJzOyyS2X9cUH+KWtakKxJ2ndkzbT/j4cMUmLRSQuMt5o4QMD1D+AJ3JCnw7FLs70UfwTKsGJ+8+H6iMX5FFKv+BoVDhtVBYj0hX2WqM2NQpCCbnDSGBFGg0H71fvV4= X-Bogosity: Ham, tests=bogofilter, spamicity=0.017554, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: There is a potential of an update causing issue with a reader when appending, so disable the append operation when readers a present. The code was also missing some documentation, tracing, and some cleanup was possible. These changes are in the second patch as there's no compelling reason to require a difficult backport. Changes since v1: - Added fixes tag to the first patch v1: https://lore.kernel.org/linux-mm/20230817191505.1170876-1-Liam.Howlett@oracle.com/ Liam R. Howlett (2): maple_tree: Disable mas_wr_append() when other readers are possible maple_tree: Clean up mas_wr_append() lib/maple_tree.c | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-)