From mboxrd@z Thu Jan 1 00:00:00 1970 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 0802AC5321E for ; Mon, 26 Aug 2024 17:03:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 802906B0082; Mon, 26 Aug 2024 13:03:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7B25A6B0085; Mon, 26 Aug 2024 13:03:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6053C6B008C; Mon, 26 Aug 2024 13:03:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 3BEDF6B0082 for ; Mon, 26 Aug 2024 13:03:02 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id DF8C2140BFC for ; Mon, 26 Aug 2024 17:03:01 +0000 (UTC) X-FDA: 82495016562.06.4AA56DE Received: from BYAPR05CU005.outbound.protection.outlook.com (mail-westusazon11020113.outbound.protection.outlook.com [52.101.85.113]) by imf03.hostedemail.com (Postfix) with ESMTP id B8B2C2001F for ; Mon, 26 Aug 2024 17:02:57 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=os.amperecomputing.com header.s=selector2 header.b=s1C0OeFp; spf=pass (imf03.hostedemail.com: domain of yang@os.amperecomputing.com designates 52.101.85.113 as permitted sender) smtp.mailfrom=yang@os.amperecomputing.com; dmarc=pass (policy=quarantine) header.from=amperecomputing.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724691735; 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:in-reply-to:references:references:dkim-signature; bh=rgotbLRSqoWUgngY7mT1kLxNUr9SkledlMRuzt7UAHM=; b=gJ3+Y3zvVMLYl9qjFCrWuabcCbBuO34AoQ+o0Ol1T5kzP8NgjjmPRa7X6x5x+gJm07clYy b/rU97hHJeOzixABjvEhL3hRzGHJjWbooaWkZ3XIiprJXhY0+Jcxynz0Rs6fcMLIqKsjdm nCt6n8oXhBbC/jM34cMTO0erVDJzSyU= ARC-Authentication-Results: i=2; imf03.hostedemail.com; dkim=pass header.d=os.amperecomputing.com header.s=selector2 header.b=s1C0OeFp; spf=pass (imf03.hostedemail.com: domain of yang@os.amperecomputing.com designates 52.101.85.113 as permitted sender) smtp.mailfrom=yang@os.amperecomputing.com; dmarc=pass (policy=quarantine) header.from=amperecomputing.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1724691735; a=rsa-sha256; cv=pass; b=yNKgp6H/pQaCIDWOjcH8wASyKefzsqSfiJu9e7ZQV7/56twhEBbv+2UgDy0abd/I4T6Pdl 7cqgdDWDy3uwrt+OU4u8R20sELKNPDnMN/MJyIM0Iruf1zHPCSd6eqOjxfn1F70IhXbNBR BRsHZ3GuOmMYMV3jQs1//VdU620pjY4= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TuEs5BC4iUwyaIMUmFO+lqqaJM69s+ceSx+DbYRYTXIvHMTrU/+DKE/4gwRX5XIyV+16pLq3DKw86RRAMm/MQNeX6zN+26okxVPU3hmKAaLT478brqHIUgJdnLlEzXb6rjt9zbGUoJTF2rUU0hbWOHZdDfcDg4utu2Z34uW02KL0IU3ZcoPq7kx64U3l/6XQjbkuHIMwkOB66SS2eBS8P/2sOBk6aVA29h7yVyo0fqeO0gi/jIfxBborZ3Ra0dQJ3x8Ko0uatgS2iXe2uLbRL8GXvK6sTpP6KwxvU7qmqdO0H2LVbybEPxKryfVhNAVwYdxTo2XfhdS084mXBAgU3Q== 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=rgotbLRSqoWUgngY7mT1kLxNUr9SkledlMRuzt7UAHM=; b=DDksuXuh/bXHcdT0MPZIAZ4HMp71korgF0ZvKViHRh9A/YtG4y2uiSAvMH7FBan4wzHY/eMB5JfELui6RjE9+dNDBaU5oHNRz0iV3H/585lgZeJHEWiEFxH2ZmqCBOS5n3I5znNCCoG6w3GIp4EGXnU4uqy0Q5NxZqg9Dk1Fgkm2l2DTOctZV32QfPSHGqbKx2ZCcFjNw9ejdi7/PzbCJ/+6KvjcOnjt9eWy/Q/IBfMdaZf8DJDps8r5ZEyleJFe/rEjBwL3sAflv7XNIc/hikMrThUwn2GJp0H/PlP87unhkpQAvsdgESyJ1q39yhe1nEmBvn17k4gnlNVsIsEcJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rgotbLRSqoWUgngY7mT1kLxNUr9SkledlMRuzt7UAHM=; b=s1C0OeFpKy5X94O4uDGeiZBH9am1hSu3s43c4YIWd7Uqp7Pm5Kx+gdR580rgziqvH2FrDcDDMIqmDKiorin3O+q7Xu8j+z4YcTzUyzTtsaNX93j0G3wUvTFhXunVOHyuFPZn1kZy54HKjmtdd/nGATNvEk8aaTJoFb2abBHBThA= Received: from CH0PR01MB6873.prod.exchangelabs.com (2603:10b6:610:112::22) by SJ2PR01MB8206.prod.exchangelabs.com (2603:10b6:a03:545::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug 2024 17:02:50 +0000 Received: from CH0PR01MB6873.prod.exchangelabs.com ([fe80::3850:9112:f3bf:6460]) by CH0PR01MB6873.prod.exchangelabs.com ([fe80::3850:9112:f3bf:6460%4]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024 17:02:50 +0000 Message-ID: <9b9b07cf-8edb-4779-96f8-324f81434d6d@os.amperecomputing.com> Date: Mon, 26 Aug 2024 10:02:45 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [v2 PATCH 1/2] hugetlb: arm64: add mte support To: kernel test robot , catalin.marinas@arm.com, will@kernel.org, muchun.song@linux.dev, akpm@linux-foundation.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20240821184752.3535276-1-yang@os.amperecomputing.com> <202408261816.ACEJvgZw-lkp@intel.com> Content-Language: en-US From: Yang Shi In-Reply-To: <202408261816.ACEJvgZw-lkp@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SN7PR04CA0024.namprd04.prod.outlook.com (2603:10b6:806:f2::29) To CH0PR01MB6873.prod.exchangelabs.com (2603:10b6:610:112::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR01MB6873:EE_|SJ2PR01MB8206:EE_ X-MS-Office365-Filtering-Correlation-Id: a64c1a31-b76f-4a4a-d1c1-08dcc5f0ead5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;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8?Q?syEa5cM6hWGzBRkz1k=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR01MB6873.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(1800799024)(366016);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OFAyeWpoRVVmakdFSW0rVVpsYXdkRHF2WEU2VmQ5ZExSZFV0OEczdFUxbFU1?= =?utf-8?B?K0VNWmNMa2JVZzNTYVNOYkV2bE9MK2luZUFvd01Oc2cwaVZPb0xVWnRHeWdE?= =?utf-8?B?Q08zMjJVVGdHaEVrWWh6YzhJQ0dkS3VtUmVUM0RTNDhMTWNmMmxyNU51MENI?= =?utf-8?B?SWt6Y2FuM1pyakNYSGp2NnVCZ2VIcUtlSmlTa2I3VEF0VkdNMU9sd3BaUVh3?= =?utf-8?B?ZWVIaC9XZzdZdnFsZGNpc3dOYmxkeEtzU0I0QVlLYzVIUDRaclc2Ly9RUTBv?= =?utf-8?B?RG51ei9MSXNtc0pQZzVIdzdRSmhhTjFaR1VMVXJiRmhHaENQTURqOVplenVX?= =?utf-8?B?ZW8yaFFCTlRXN2cyQVVNQWVBbi9lWHl5ZEJzeTRqcVVLUU5ITzY4R1p1ajM4?= =?utf-8?B?azluLzc0UFBFajlKNVFrczdLdno4U05aV2xMTTFobWh2OU9ZaS9iUThmbWYv?= =?utf-8?B?N2dmSHl2ZGhQaG5rU2J6Q2NxL0tyR0Z2Ty9IUnZOTjBRRTZzanNFS2VQODd5?= =?utf-8?B?WTc2dmtUUDRSN2g3cnhaMjAyb2JCRlloZmRaWE5BWFpONFpLUnl6dFlUUVJk?= =?utf-8?B?b1h6MGw5cWk5OVY5d0tOYnJZZFZqOW81R3ZyMXltbVZ6a0J2R211dXNpZnFM?= =?utf-8?B?alp3Sk1HUUh1M1Rn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OW9WZ040QncrSnN6S3ExV01ZMjJJUjJaRHR6c0ZjOXlPV3VWUExnMGNRejR6?= =?utf-8?B?TURtREZ2alJTYi8rYVVlUm9KWC9rTFBGd0dwbDRiR2c0Tkd1Nzc1WWhzOUV0?= =?utf-8?B?VC9ZUmZNL1NKZE53bFFZdGlNeHVoaEdFQ1V6SUN6YUoxSVV0bDdVcVNpVG94?= =?utf-8?B?Rm0vUjVwNkdpdnhOeGJuMjM0b3U0WUN0MTcxdVUrVGRDOHZwYTlMOEFuV0Jt?= =?utf-8?B?U2srMC9PRHFrM1pHS3M0WWxqR2F4VmNtaVRhQ29EWTJlblNUbDUxU1ZCVWNt?= =?utf-8?B?TW5HT3czcFdQZVFaQlEyaW9TSUlSZ1BUVVhSa3JkNjY5NWQzZmtvczBqMjZh?= =?utf-8?B?aXI0M3diZlRVK2lGbVBTR0VEWjJ5ZGdlSjE0cUxEMlh3dXFmbDJOOERKcWxw?= =?utf-8?B?THhkSE1yUktpR3JuQlM0b3pnLzRNaWJHd1ZvallWOTdFb0xsQkZzV2VSTGps?= =?utf-8?B?cUpRbVlDQzU3WUtaNEFRMnpaVTNoVjgvRGdBL1NEVGF2M0dZMW5HL0ZQNWNj?= =?utf-8?B?Nmw1RVNNT3dYUW1KQlhBc3JVYndiRzhuNUVYTFdwN29ISFB6ZzZ3Mk9jajRz?= =?utf-8?Q?EpqsevageQIrvscWU7WQ52Q=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: a64c1a31-b76f-4a4a-d1c1-08dcc5f0ead5 X-MS-Exchange-CrossTenant-AuthSource: CH0PR01MB6873.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 17:02:50.5800 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +WJcmscioNZYT5cI13ai9Aa2GY892ReszQT8yHfowkJjkzgrUTkE0b7ey+NG2z5WydixCJS4qFXa3fqcqwwYEG4KM28wChcMgdWeL6Lq7RY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR01MB8206 X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: B8B2C2001F X-Stat-Signature: 1iq61op7ayzao1hcupabzoqwriiy1hzg X-HE-Tag: 1724691777-310859 X-HE-Meta: U2FsdGVkX19SvTJIIy2AXchflxVCvIMiC7aYorGKpDXT9V41EliLiW6KEucWxpqXartXxhBhuRkPOTdD2B4KdYsovcBZHs3UbagdRPK0RIovFDJNw6+tkxy2+/3d+H0iTzsb5uUBEZb2/DZGXl1f00FQNs1KKpGR06vHWL3DqXMUU6Ayx4VPid3hCuSSFjpY75IMRrhJVsTy1FMrnL3nZ7DhH1Ze98mNIYlh9E0X3IV2tGh0CUfPyohIGzTDVk++zYXXwspWvjRnFqp68QKOYUQCHd3EjnHKzDVahe7Dzd3Fmewh0iB8tosSXtRk4qV1fmDqdZFNl0zXbtpBZDCfBw2ZjFscjNrURM+G5oets3b6sIhKDcELcaxaZi5cjaFoLeqdA1zGI5IiCnknrVXm1+kRPPkgV14m9+fmDEicjWEv8kZbTAsE+haykOKSePNQXVZY4ZSW0G+D0vVJnVrPhJoEWK6v9k8SXrcCInZC/zr8elWEP+BspNntwLIlAGMmbGKdzAozlZZ5NldZjZalIqJMGuqbtb0miql7abmlKGldWdQSNzbnXeyUHPsocQjlXvmOpv3fAz77lwf5FW5kPEvh6imWHYk6LDKvgpyfFWe1Lv/yEwHxlYTUwh/ov3QDjY6pfGaiHvv03vwYtuVTMaRuuOD1KOfnahINOpHTpW++X3ugI1T/09ezwC1IYhXKXPBbgCUUl5CsUeThhOAKALRpO3BR9tCc/OynrzPGoHpwzPBmvezoZpX55qIWMBYyJpSHj4athvOq/5Xdz7c1lwKoTbVOikKduckNeqCi4JwYU42LxZ0MXjpWwwOOyc4qUMXlFEep02vq6MCkgapFbjyo4ltZW/7LWhHds1j7nuYQs/RU9ngu9Dh1Wi4OS/DPYkS7LGeNdv2VQQ653mZxvHRQF0329sK4olcYkhqqrgjdBd2713mnfM3ZrAVZptEkdKCJ/G+HspPSvjd1eCc cnzwy1E8 ZKd57MAfka7Kz75nkpiG2V1WnhsAQBXvsOYiy9BDecewVz8VphL0brt7VsDss7XxHjaRUR54wQOCKuVdiBfOCezwCdUiiPWrHdIo3C5u19ExVuzX++kmE6VgLSdLA6Mg8zshRTyE088uaNa98UARuqEgaye9GdXY54MIwUzaZc2sG/pEVKocwPenNvkOs3PqgPZemxwfeH44nXKys7tZXSGClw3EVWqVULVaClVPG67R7FHL394iwPnJDvXtX7B5Eppl9OML/a8vgvgyP9icITZ3kZSv4F+YorF+I/BrSYVGwZv3X7ZLqhkFggWmV8JX1oio2Gdip13GWFOqPuAiW+bWQjKKLoDqG0JybDfBXk95/L/apzskfQQio1kipI4EyWErRvuvroVKGtGRTr1LOkdatc6YLQwyFTNRT7w4zstBa81tq+rAy3nlUlXV1wOJZbrTMvP3MFNlO2a5DOClS+TfLj++soLBWJq5wp5gbEdEAF5Ge2eOCwkm9e/Ktg8bZDA4MGxi7gzoIWPbSrGdm8FZeCBvaCUI4OxuLqrHApa0X6NVZur9tyJbPyLMoFSu2XQq2TcmLQKGB0MCd0GQ/ga3hxU1MnojFmxn5I3PFAgfDdSMXnJ4QRhmGf8sTpNPguBAsxVYBn5r4U+BadOQO2GGCpl8EOw185qAe 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: On 8/26/24 4:15 AM, kernel test robot wrote: > Hi Yang, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on arm64/for-next/core] > [also build test ERROR on kvmarm/next akpm-mm/mm-everything linus/master v6.11-rc5 next-20240823] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Yang-Shi/selftests-arm64-add-hugetlb-mte-tests/20240822-024935 > base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core > patch link: https://lore.kernel.org/r/20240821184752.3535276-1-yang%40os.amperecomputing.com > patch subject: [v2 PATCH 1/2] hugetlb: arm64: add mte support > config: arm64-randconfig-004-20240824 (https://download.01.org/0day-ci/archive/20240826/202408261816.ACEJvgZw-lkp@intel.com/config) > compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 08e5a1de8227512d4774a534b91cb2353cef6284) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240826/202408261816.ACEJvgZw-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202408261816.ACEJvgZw-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > In file included from mm/gup.c:7: > In file included from include/linux/mm.h:2228: > include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 501 | item]; > | ~~~~ > include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 508 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 520 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > In file included from mm/gup.c:18: > In file included from include/linux/hugetlb.h:798: >>> arch/arm64/include/asm/hugetlb.h:25:28: error: use of undeclared identifier 'PG_mte_lock' > 25 | BIT(PG_mte_tagged) | BIT(PG_mte_lock); Thanks for the report. It is because the config has CONFIG_MTE disabled. I will fix this. But I'd prefer the response from the maintainers then fix all them together. > | ^ > In file included from mm/gup.c:20: > include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~ ^ ~~~ > include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 49 | NR_ZONE_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~~~~~~ ^ ~~~ > 6 warnings and 1 error generated. > -- > In file included from mm/swap.c:17: > In file included from include/linux/mm.h:2228: > include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 501 | item]; > | ~~~~ > include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 508 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 520 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > In file included from mm/swap.c:26: > include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~ ^ ~~~ > include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 49 | NR_ZONE_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~~~~~~ ^ ~~~ > In file included from mm/swap.c:36: > In file included from include/linux/hugetlb.h:798: >>> arch/arm64/include/asm/hugetlb.h:25:28: error: use of undeclared identifier 'PG_mte_lock' > 25 | BIT(PG_mte_tagged) | BIT(PG_mte_lock); > | ^ > 6 warnings and 1 error generated. > -- > In file included from mm/shmem.c:28: > In file included from include/linux/ramfs.h:5: > In file included from include/linux/fs_parser.h:11: > In file included from include/linux/fs_context.h:14: > In file included from include/linux/security.h:33: > In file included from include/linux/mm.h:2228: > include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 501 | item]; > | ~~~~ > include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 508 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 520 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > In file included from mm/shmem.c:39: > In file included from include/linux/hugetlb.h:798: >>> arch/arm64/include/asm/hugetlb.h:25:28: error: use of undeclared identifier 'PG_mte_lock' > 25 | BIT(PG_mte_tagged) | BIT(PG_mte_lock); > | ^ > In file included from mm/shmem.c:58: > include/linux/mman.h:158:9: warning: division by zero is undefined [-Wdivision-by-zero] > 158 | _calc_vm_trans(flags, MAP_SYNC, VM_SYNC ) | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' > 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) > | ^ ~~~~~~~~~~~~~~~~~ > include/linux/mman.h:159:9: warning: division by zero is undefined [-Wdivision-by-zero] > 159 | _calc_vm_trans(flags, MAP_STACK, VM_NOHUGEPAGE) | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' > 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) > | ^ ~~~~~~~~~~~~~~~~~ > 6 warnings and 1 error generated. > -- > In file included from mm/mprotect.c:12: > In file included from include/linux/pagewalk.h:5: > In file included from include/linux/mm.h:2228: > include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 501 | item]; > | ~~~~ > include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 508 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 520 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > In file included from mm/mprotect.c:13: > In file included from include/linux/hugetlb.h:798: >>> arch/arm64/include/asm/hugetlb.h:25:28: error: use of undeclared identifier 'PG_mte_lock' > 25 | BIT(PG_mte_tagged) | BIT(PG_mte_lock); > | ^ > In file included from mm/mprotect.c:15: > include/linux/mman.h:158:9: warning: division by zero is undefined [-Wdivision-by-zero] > 158 | _calc_vm_trans(flags, MAP_SYNC, VM_SYNC ) | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' > 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) > | ^ ~~~~~~~~~~~~~~~~~ > include/linux/mman.h:159:9: warning: division by zero is undefined [-Wdivision-by-zero] > 159 | _calc_vm_trans(flags, MAP_STACK, VM_NOHUGEPAGE) | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' > 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) > | ^ ~~~~~~~~~~~~~~~~~ > In file included from mm/mprotect.c:30: > include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~ ^ ~~~ > include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 49 | NR_ZONE_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~~~~~~ ^ ~~~ > 8 warnings and 1 error generated. > -- > In file included from mm/show_mem.c:8: > In file included from include/linux/blkdev.h:9: > In file included from include/linux/blk_types.h:10: > In file included from include/linux/bvec.h:10: > In file included from include/linux/highmem.h:8: > In file included from include/linux/cacheflush.h:5: > In file included from arch/arm64/include/asm/cacheflush.h:11: > In file included from include/linux/kgdb.h:19: > In file included from include/linux/kprobes.h:28: > In file included from include/linux/ftrace.h:13: > In file included from include/linux/kallsyms.h:13: > In file included from include/linux/mm.h:2228: > include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 501 | item]; > | ~~~~ > include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 508 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 520 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > In file included from mm/show_mem.c:12: > In file included from include/linux/hugetlb.h:798: >>> arch/arm64/include/asm/hugetlb.h:25:28: error: use of undeclared identifier 'PG_mte_lock' > 25 | BIT(PG_mte_tagged) | BIT(PG_mte_lock); > | ^ > 4 warnings and 1 error generated. > -- > In file included from mm/mremap.c:11: > In file included from include/linux/mm.h:2228: > include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 501 | item]; > | ~~~~ > include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 508 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 520 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > In file included from mm/mremap.c:12: > include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~ ^ ~~~ > include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 49 | NR_ZONE_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~~~~~~ ^ ~~~ > In file included from mm/mremap.c:13: > In file included from include/linux/hugetlb.h:798: >>> arch/arm64/include/asm/hugetlb.h:25:28: error: use of undeclared identifier 'PG_mte_lock' > 25 | BIT(PG_mte_tagged) | BIT(PG_mte_lock); > | ^ > In file included from mm/mremap.c:16: > include/linux/mman.h:158:9: warning: division by zero is undefined [-Wdivision-by-zero] > 158 | _calc_vm_trans(flags, MAP_SYNC, VM_SYNC ) | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' > 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) > | ^ ~~~~~~~~~~~~~~~~~ > include/linux/mman.h:159:9: warning: division by zero is undefined [-Wdivision-by-zero] > 159 | _calc_vm_trans(flags, MAP_STACK, VM_NOHUGEPAGE) | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' > 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) > | ^ ~~~~~~~~~~~~~~~~~ > 8 warnings and 1 error generated. > -- > In file included from mm/huge_memory.c:8: > In file included from include/linux/mm.h:2228: > include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 501 | item]; > | ~~~~ > include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 508 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 520 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > In file included from mm/huge_memory.c:14: > In file included from include/linux/hugetlb.h:798: >>> arch/arm64/include/asm/hugetlb.h:25:28: error: use of undeclared identifier 'PG_mte_lock' > 25 | BIT(PG_mte_tagged) | BIT(PG_mte_lock); > | ^ > In file included from mm/huge_memory.c:19: > include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~ ^ ~~~ > include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 49 | NR_ZONE_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~~~~~~ ^ ~~~ > In file included from mm/huge_memory.c:27: > include/linux/mman.h:158:9: warning: division by zero is undefined [-Wdivision-by-zero] > 158 | _calc_vm_trans(flags, MAP_SYNC, VM_SYNC ) | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' > 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) > | ^ ~~~~~~~~~~~~~~~~~ > include/linux/mman.h:159:9: warning: division by zero is undefined [-Wdivision-by-zero] > 159 | _calc_vm_trans(flags, MAP_STACK, VM_NOHUGEPAGE) | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' > 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) > | ^ ~~~~~~~~~~~~~~~~~ > 8 warnings and 1 error generated. > -- > In file included from mm/vmscan.c:15: > In file included from include/linux/mm.h:2228: > include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 501 | item]; > | ~~~~ > include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 508 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ > include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] > 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~ ^ > 520 | NR_VM_NUMA_EVENT_ITEMS + > | ~~~~~~~~~~~~~~~~~~~~~~ > In file included from mm/vmscan.c:30: > include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~ ^ ~~~ > include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 49 | NR_ZONE_LRU_BASE + lru, nr_pages); > | ~~~~~~~~~~~~~~~~ ^ ~~~ > In file included from mm/vmscan.c:42: > In file included from include/linux/migrate.h:8: > In file included from include/linux/hugetlb.h:798: >>> arch/arm64/include/asm/hugetlb.h:25:28: error: use of undeclared identifier 'PG_mte_lock' > 25 | BIT(PG_mte_tagged) | BIT(PG_mte_lock); > | ^ > mm/vmscan.c:401:51: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 401 | size += zone_page_state(zone, NR_ZONE_LRU_BASE + lru); > | ~~~~~~~~~~~~~~~~ ^ ~~~ > mm/vmscan.c:1729:4: warning: arithmetic between different enumeration types ('enum vm_event_item' and 'enum zone_type') [-Wenum-enum-conversion] > 1729 | __count_zid_vm_events(PGSCAN_SKIP, zid, nr_skipped[zid]); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:135:34: note: expanded from macro '__count_zid_vm_events' > 135 | __count_vm_events(item##_NORMAL - ZONE_NORMAL + zid, delta) > | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ > mm/vmscan.c:2232:51: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 2232 | inactive = lruvec_page_state(lruvec, NR_LRU_BASE + inactive_lru); > | ~~~~~~~~~~~ ^ ~~~~~~~~~~~~ > mm/vmscan.c:2233:49: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 2233 | active = lruvec_page_state(lruvec, NR_LRU_BASE + active_lru); > | ~~~~~~~~~~~ ^ ~~~~~~~~~~ > mm/vmscan.c:6247:3: warning: arithmetic between different enumeration types ('enum vm_event_item' and 'enum zone_type') [-Wenum-enum-conversion] > 6247 | __count_zid_vm_events(ALLOCSTALL, sc->reclaim_idx, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/vmstat.h:135:34: note: expanded from macro '__count_zid_vm_events' > 135 | __count_vm_events(item##_NORMAL - ZONE_NORMAL + zid, delta) > | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ > 11 warnings and 1 error generated. > .. > > > vim +/PG_mte_lock +25 arch/arm64/include/asm/hugetlb.h > > 21 > 22 static inline void arch_clear_hugetlb_flags(struct folio *folio) > 23 { > 24 const unsigned long clear_flags = BIT(PG_dcache_clean) | > > 25 BIT(PG_mte_tagged) | BIT(PG_mte_lock); > 26 > 27 if (!system_supports_mte()) { > 28 clear_bit(PG_dcache_clean, &folio->flags); > 29 return; > 30 } > 31 > 32 folio->flags &= ~clear_flags; > 33 } > 34 #define arch_clear_hugetlb_flags arch_clear_hugetlb_flags > 35 >