From patchwork Sat Sep 7 02:15:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liam R. Howlett" X-Patchwork-Id: 13794907 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 CF35FCE7B04 for ; Sat, 7 Sep 2024 02:15:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3DF796B007B; Fri, 6 Sep 2024 22:15:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 38E3A6B0083; Fri, 6 Sep 2024 22:15:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2083D6B0085; Fri, 6 Sep 2024 22:15:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 10EDA6B007B for ; Fri, 6 Sep 2024 22:15:28 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id B9586813FA for ; Sat, 7 Sep 2024 02:15:27 +0000 (UTC) X-FDA: 82536325494.04.4F68254 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf13.hostedemail.com (Postfix) with ESMTP id 6572920004 for ; Sat, 7 Sep 2024 02:15:23 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=T0J73n5v; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=eVK8msXV; dmarc=pass (policy=reject) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf13.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1725675322; a=rsa-sha256; cv=pass; b=65QofmTq90zoJzJd1G3+3l7T8RXFPYE3gxVflrjrxykkRyh1wELLAeYT29hwtwPN++tO3m Mf9+oea+RkUv7Jzi6GPxudmwY8CjYi+nW0rTU/lWsCt+EA3obJMf+mQTchKfBYNxBF0dAx KKx5M0LGkQ3DVF0uSUV2F52YZ1JyUvE= ARC-Authentication-Results: i=2; imf13.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=T0J73n5v; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=eVK8msXV; dmarc=pass (policy=reject) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf13.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1725675322; 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=5fAKtrDAb7Fh2D+5Keucz1nUXgXiVGjHPjoffTJ7E9g=; b=P2tW/9VPl9iMMpe/ocfOo1ObMdYECQb+RAeRe6HeTvHP/YZiDjEBv3z0Ov1gnEyEhkGdQQ 3wSi2/enjK3PnqfsVFE4T9DbMC/4qzVb2wEcCxurb8dKOgRSVMKdzJOCG4hELRSy/Y9P6O aorxeJ2lk+CoDilQbXablCxBrBdBEPY= Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 486KXVpw015024; Sat, 7 Sep 2024 02:15:21 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-11-20; bh=5fAKtrDAb7Fh2D +5Keucz1nUXgXiVGjHPjoffTJ7E9g=; b=T0J73n5vQmYEZmoDXoDf7/qjrvH5lY Ors4IlloPd7M93AqGxS/1pL4iDCUbZ8XTPRaAb0Yd9dNG+SGFehv3uZiLyVjhEwN PUrzc3zXePi73rnYe5qCgVZJIYwSzEnaqEPgA7lMBvVRVi/eZL3ybDj4rOlCLKDU UNlPT/ivA6Lv/C3R3p5L7yO8Ryvu+DOPtCU6rGl4sl+RQgXuqo3hGdsRVRsYUEtY EKCwJQ6sPUvldJUCTdfNl3ZEbwNiU3Rw97pDD0uRksrbSinz66CNZvcrP48KN9RG K5nvSb7DCtHf9s2mHv9gcN3s6IdR61Rx4WiK45m5aqdVs4p6aAWzZ0Tw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 41fhwjjvu7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 07 Sep 2024 02:15:21 +0000 (GMT) Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4871Y4uV019854; Sat, 7 Sep 2024 02:15:20 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2173.outbound.protection.outlook.com [104.47.73.173]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 41gd9c0kvd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 07 Sep 2024 02:15:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=meW8LyI/Z9gDKC74QtLDIUlRCAOA/52FJR8sHXOTsjoXQ0UH03fMHK8nU5HOzsTTpA5ObSItW4d7faFhcY/s2JIDJR9kDzSnUL/0IUWAY4aa/1nR2UDJ3i0XRL7o56YC/UMi3WtZ8eMQ91ofCLfsrN1B8Sm8hbaXlola9TKRIal+AHUnttEu+km1Y/y3DXkK4c5+Ix0envhibBjwyYL6W7rREAQL/uw8qD2JbNXM0X4gSeVi9feHDu82h8itViAaU8eR+BbpeP4S7RJVjyZPbixB7RaN1xhp8EL7PKD0en6f/lHZ3wTSrot6jyAbWcIcGmZ03FVXB6BBuCGNeBnn8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=5fAKtrDAb7Fh2D+5Keucz1nUXgXiVGjHPjoffTJ7E9g=; b=Dk9h8Sk7hl2pfTcfHvgLCkqDa+iGQ1WgPJ6PD+tRNPfmZMerORwe2QNaBLl9xQ6LNzDAbai21e4yhl0X8MpjC9m3Edd1PnjBwhrDoKVQmPuv7QuxPzsAKPGoE5J5wwlqXzV9YKe9Ms9qclQN21y/NdACwyHj7nLuhKzhK3YO6IMWkmfJ3atnfRV1MpCZFYuojEo1OzQph2q9HDZgg7o2U+s+CZeXpl348BjQFBaLuzDzer+hqpZJY4ko0k5yFj3spjBlESV/BXH0zwOc3loiqvRBkyXUhYfEVFJsme0lIfSLXliTe5Q5V9qyKNfIjgE54ISFwU0/2ldn4CMNggBNaQ== 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=5fAKtrDAb7Fh2D+5Keucz1nUXgXiVGjHPjoffTJ7E9g=; b=eVK8msXVoW8P7rDElLeSrxFKizYvaaOlgfWA5KvxVx3c9sNmY2mY6GBsYpSiajKnNKWkyGFFgmMbzKTjJgZUGgEPX+v7Oo2eaB959ds6dimZAZ6vi0P7zlDXO8MjYVBlMnBhkE0v3Asunvb22xVsnSrkjzxLR79/vfponl+WOUU= Received: from LV8PR10MB7943.namprd10.prod.outlook.com (2603:10b6:408:1f9::22) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.10; Sat, 7 Sep 2024 02:15:16 +0000 Received: from LV8PR10MB7943.namprd10.prod.outlook.com ([fe80::a8ec:6b6b:e1a:782d]) by LV8PR10MB7943.namprd10.prod.outlook.com ([fe80::a8ec:6b6b:e1a:782d%7]) with mapi id 15.20.7918.020; Sat, 7 Sep 2024 02:15:16 +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] maple_tree: Mark three functions as __maybe_unused Date: Fri, 6 Sep 2024 22:15:06 -0400 Message-ID: <20240907021506.4018676-1-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.43.0 X-ClientProxiedBy: YT4P288CA0071.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:d2::23) To LV8PR10MB7943.namprd10.prod.outlook.com (2603:10b6:408:1f9::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8PR10MB7943:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ea768c0-91d2-40b8-796f-08dccee2ea28 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: d2KnWCnCre0oy54wokIT0GrfWykUgoWQq/RzHvFNR5gDno03AnWj4gUv62kHZQH7MJgqNtdsbFQlRPVLp18H8fPSmYFmBo4JydHEzAgfFzu2N4APM7+IbNlUsK3C9suKlaYh9E30CpsqTwuGQfTQZFHtP6U+25t9HmpfSvVvMCNWzzlhpuqIXZz6Pokw+zt8uwa9twkRyJ8F5NOjRDuirQ67TpwfiXYXT8Bx5/bdeDj4Mz8nJr3IM8bF6pDxZ/vxRo/FZ/2sZFIt6AZ2sfJaOAB+KhAfKOm2TJ9FFUgca2/rxhmSs0CoW6spj10vcOTrkxHFK3pH8hkR18ugjG0nN5UKzAvjX3LFXGmBeUG+FuelS4l53u7RUMN7OuoHZuHhvYtS79UAtFsHLQiHE/InYmm3lS2BLw8T45ttUJVXmAOiAktKQMkG/+aiATabcgdE1fL8js91BNl8EkAtQzWf5bjzOWC++KmxQd/eJCpqPA4q/0ZnCb/hR89poPVyH04QLX0PKRSQTjQuDdtosuietKv3WnVJCDtSLH45M09eQu98M/O0dPcFx5H+69wjN3xQZlpyWtXJaVj7Grohrel8dnihKbiwYgGojUsSYStSvFRAlYapstSjEYM/t53GG0da6lMz+rhUznEKODDVhtI62w9MX6X08m+PtRpQXtcbIhkQhCczaEZ93IAxYF4LKYSykNgc3/wSzXxed1G70x0w62Gkji75PbCI2l18V3wqgt+OA9WCvsyIGumYInLeevsG/B+1OiX6Wg645mCYxyAtbrIr+YHjmGc0ofAStrJ8d7xDNLsvfMJk5TaJ/zDLnwLOZocV+RgGG1q8i9B/IlmEQTEq47iZ3uvVp5KyY9QztvZXMrG1adx7O5YnWsFJK1MJ/f+QXpEpeu9y8iqRQIlMNF0Zo28oEml62SpfApgZfKUK155SKLMRv41QZJzA8V6wcS0zkFdi9DD9HtH69uubJIB8T75iZJegnKb8zaJm8fR0/daEfxkl0LhwDjUSvjMGY/RUz+UFf8wlgogGa2gHA9LEVcxLiC6vLYphIBL1lTiuSMGA72ZleKSjn2MxtLSBHLA6yVwR7PAiUzaYaOEi79Wka0BPyEwWT8Hcu8gsDB1iF9JfmrfbmCwTjLCX2vq9XgsVbPahemJ86YPX8YCsg3srWI690bcbhp7FqRfp3i5lNDHATW2S00npP+LMVL4wJdKbT33L7mE8JdKf/ANOnRqdosZYF/S1HI+/rxK/xDVjdWz8g9LGuQaFgBuJnFFe0GNWfKXDbTarlEp2y1TXmiIHnRfX5uFPDDPXqpPotRj02h7FTfBbkbIGzv+C/rWJ1Rv7ocrL/7GbpFV0Bpieg+eg6ppYCkNpPFxnbq35o9A= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV8PR10MB7943.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dwb3N0i/W3o4KxmdnGYq5mqsl9T3JNmrA/vpXE0EH5vOiedB03QhxauMgaU5pbZ6ldC8qnnnwhVw3DzS/HqGnR5guFpzzEN6USalNBd/eBZTBe2GAMchNe9cco+y9cqgCh2nm7mSm4wFtPFmBVhOoJXGrlQk2/Ms2+jaKl5gFEpL4f1LvQqpVkMtF3mND1+l9xoVxxGmuYr9mCC1qqIrsVfyIEi1Fj0YPxvsBKXX0BhPEPmRcn7dnIj1wnGTgmohHy9ssfjAkYGGkVauYZQSSFG3sAg7RkXTmBa72mk5wqycMbSwQqT6LVE3+hASjskWwXgZ+6yXC02KIrgioa1rhVTWP08n1mSGH2/t0eCLk+ejQYRGOaN0C+XsnGp6sjNcbhKOjLAW1VHK02S3d/i/UbAbKm0/GeS7tm61KpPXJC8qOVvoJna7S8uKkR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DFZu+lTgpWOemFGJdVcCDW5tDNJr6h6tEftJn5h2KCfW1lBiNv0SfVOG5RXoQ8i2l/cISsEfm X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: LGWiFQnZLvo14y6cFHjNUWA82NHseVOPXTmercnLNooXgb8el+0xAp6R+1/kBMicDgrPkt9BAHmbz28WG6hypB6Cb7xUjKnnBmoIIpWkcKfWCta1EZsyCgZ4YIKFtvCXizgl46lYGXeiPJEGB3T+fg3dHe39OptFygaS9wuUF/G7pIFo01XfL39LyG7vwiboLML07FH92YLwsH4244W2phi2YwMMn03NKlAXuMbqjJOgXI5upOEe8WIebpyHDqwHoarOQOe54jp6EwWy3kWCzdiQXQXhi97SY4XxcEEnouzPi4HoV5FGLg6tEzr169JuU7WwgfmdGFmCnvC4lFw/+8ja94ZizYGPIyxi0JvOleuvs6890EusOQHF5gVNW5+CFHGDBuLk/pT8GXQNrvVum1e1vl/qxQbpdQaGqQfxU8vtWcnlD1K4aCWxx2wRSoqFPER0cBDbZKiXHLqoFX/QtckKLkMqpbO6hNoXhVtKPmkz/15vanMrqcJ272N/0gNYziauqG4W7snGsvYhXWtxVrUV7rTjvT71NyOtYRpxn/zZXP9Ii6MYk0uiqvtXR9kk1rCi8maSZk8aqykb9OWN4UNBQH9GUci/7WLZRv8cP/Y= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ea768c0-91d2-40b8-796f-08dccee2ea28 X-MS-Exchange-CrossTenant-AuthSource: LV8PR10MB7943.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2024 02:15:16.7412 (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: wUZqMUXMVCs9miD8ChetoegZhv7qBBqc0xZL5vW94uwHZfHUH7JbN8/epoEK7GVqgSaX61zHr75xDJ/Ph2/8Mg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2408220000 definitions=main-2409070015 X-Proofpoint-ORIG-GUID: 1dlU19IePtnGo_TXtNNfaPSoOOMod-3T X-Proofpoint-GUID: 1dlU19IePtnGo_TXtNNfaPSoOOMod-3T X-Rspam-User: X-Stat-Signature: yritx4bue87oot9f8ezi5f7c7d8fnitx X-Rspamd-Queue-Id: 6572920004 X-Rspamd-Server: rspam02 X-HE-Tag: 1725675323-97218 X-HE-Meta: U2FsdGVkX18yt/KFImUQ60cp2WzjgIrD5oG3KyFF0taiKZ9vFgDX4EYPBxDSmiuv/L0GN3tHBYH3J0q+VxnT7sFNpnj936R58brZowLsdnGe1/Ve7fcnq+7UfM29plzgzKil++jk3mdKPh9egFFQ9Hmj3AQ34wv5ycLb8OjK9Gbb+5fqXmzaD+0PbYbSNjZRHS9hvFxwrs225bDsWS8N0AxUlpuM5sGNpiZxo0vT2O0LuG+XTqPoarUOaoAXZfacu5eVl8SddC1wovMldSckuagH5wk4yTSx/56txHcs8s66vXTuP+b8wlVhrLaq7aZgWnEqOq70QuLIXvT4c6uzCTdosTY87MdJ/xrsL85uyOI4gMmoTZqLIs7vk76P6H0oXEn6eUlHwdXHrtAtp5zWi8fi/jVh+yP8h4YxCrFcuHZn0j8cxmZnE6MX2TKXa/X36f82X03mFP9okuCS6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ye87u6m2VrIxW39B32dcU7bzD6cnteoOOYMkR+xYMMnaJ0Vcjut9kM9kNiBN0onPpt2cvnkqFbkMzQNCdt5 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000004, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: People keep trying to remove three functions that are going to be used in a feature that is being developed. Dropping the functions entirely may end up with people trying to use the bit for other uses, as people have tried in the past. Adding __maybe_unused stops compilers complaining about the unused functions so they can be silently optimised out of the compiled code and people won't try to claim the bit for another use. Link: https://lore.kernel.org/all/20230726080916.17454-2-zhangpeng.00@bytedance.com/ Link: https://lore.kernel.org/all/202408310728.S7EE59BN-lkp@intel.com/ Signed-off-by: Liam R. Howlett Reviewed-by: Lorenzo Stoakes Reviewed-by: Kuan-Wei Chiu --- lib/maple_tree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 4f34e50c92b5..20990ecba2dd 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -348,17 +348,17 @@ static inline void *mte_safe_root(const struct maple_enode *node) return (void *)((unsigned long)node & ~MAPLE_ROOT_NODE); } -static inline void *mte_set_full(const struct maple_enode *node) +static inline void __maybe_unused *mte_set_full(const struct maple_enode *node) { return (void *)((unsigned long)node & ~MAPLE_ENODE_NULL); } -static inline void *mte_clear_full(const struct maple_enode *node) +static inline void __maybe_unused *mte_clear_full(const struct maple_enode *node) { return (void *)((unsigned long)node | MAPLE_ENODE_NULL); } -static inline bool mte_has_null(const struct maple_enode *node) +static inline bool __maybe_unused mte_has_null(const struct maple_enode *node) { return (unsigned long)node & MAPLE_ENODE_NULL; }