Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2719805lqz; Wed, 3 Apr 2024 06:50:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTCUL7ysAxATUrw4yM7OWLYgkmEen71JKdlXjkJnQ1sxbHyavmwOKZlR9CFMq0mG3qYZDayVB+HVm9raOVvb7DEweOY2BUbhk20673mw== X-Google-Smtp-Source: AGHT+IH6WQjsUMiMkfb4OPcZjdBrETxmC8S6o09Ztdz80oDdke02dHmjwYGNIvgMp3yHGqOTn1Si X-Received: by 2002:a17:902:ce06:b0:1e2:3db0:1d84 with SMTP id k6-20020a170902ce0600b001e23db01d84mr18052929plg.32.1712152236828; Wed, 03 Apr 2024 06:50:36 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e5-20020a170903240500b001e28bddad99si1761451plo.201.2024.04.03.06.50.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 06:50:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129848-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=RoKipFmf; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-129848-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id BD1F1B29CF8 for ; Wed, 3 Apr 2024 13:34:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12939148FE1; Wed, 3 Apr 2024 13:33:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="RoKipFmf" Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2101.outbound.protection.outlook.com [40.107.93.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 520C91487D5 for ; Wed, 3 Apr 2024 13:33:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.101 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712151208; cv=fail; b=Reu7p2dd2acLSPkTfsWE8aaxT7Yc+7JKILsNBwIT4UwhA4yqrSjrXSMB2etMNh+NbUBTG5p65ltXhBfZ4MyMQ1GSmtfWCs38EGLhUJ9a8epzTs2i0gu7i/A76ZE4i8RnP743rs8nIMUd66I89sHHvG8S5emTNEed77aNEn482hU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712151208; c=relaxed/simple; bh=csS9R5QDpEiSZmf9sUm/2MiNf+IyKCsQlWmSjPZ1Ivs=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=TA4y/3LhDTXVWVmBqYxPRFabnHr1KQd99HUuxoyDi8j1Z1Xj8KkICoQsb1CbBumHA5sXbgxD5a+t1jLonl5oNEBeeAGylAH1CkRTebjwtMlKe7qmSW31uecJtMn9yYqDR4U6ZWNu4j34FEG/r9NdeJyuH25leVoDMfZ+uTf18mk= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=RoKipFmf; arc=fail smtp.client-ip=40.107.93.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZZDfxyua8jHTIC6rx9rwJAxkDZsij7jg5P9ZYqHA6RWINu/uBCgJkOHLkOcIxKtAUD4mhfUOn1MQ7zYObgNB6ulxRyX4WDHe/zS1YEFDROsIQYREhPVQaPzMPGGMcVlr8ufK9sMbDddrzBthEq7wciRYOHJ/GsR5heEd20EuoT4Gc4bqayKT0wpn6rtoQq4zX3JNVss9XgxtBJIZHd/aIzqGFDhCt9jaalAUtW8tteUS3VHjk3mJlxu3D0dwJlelzJa5v/7uSI/wvEWmbSnI1pV6YkKABDYoDcSp/yoa+0AQ23RlCXWfa0Ya7rIfR1uHmKxAzt1xM1pHAFkpR9D97g== 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=oKLOv5tMIA7YLZhgO/SWJoz0Qz1dX0FuunDsb/mfeNw=; b=bwr+rfuVpO9/nTp37GGvBJ56zHHNYx4GXWDQqKVG3ByVu/sTIMhKXSDX3Qvs0XBnTDxCA3k/63lK1rKDhLZwcRYXMC7ekCsPq5QuZIWxAt3XcAFxF0ccCBedU87OOo9h0SvpUUYDZkinaTzs3mmwFnNWaenVi6LzZolX9GT/xyoaW6YGYgW+Fz1V2YXbsjhuoWLZEexBk0NyJI4KytgKJXer1rPXvXbhid72HziXd4tzqMxEl0Lgy/uRhx+i+/xjnDcSzH75TFBt1HlyY9Fk7Yh6956BoA93NCwrU/qVoNduvzhodOnwi5ZCeVKP25z5Ly2CjGUUywKK/WngoOrMgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oKLOv5tMIA7YLZhgO/SWJoz0Qz1dX0FuunDsb/mfeNw=; b=RoKipFmfp9jtqbzNTBT+6/cLBLszIUAV9iMP9MRte1/rb9YaK5PHb+blEUxIZVIHMDPI0eHj5zu0okM68Idsm3Pu0p1wHl4qOHCMSz12fufSW6P4zHa2E2irm+f0NMmxZIFvqxoi33iIgX3QIQsAQpzK0b+WjaRoboPOS8V9GDYQO4FFDi8F2dCQ/bfZkmwyP0XcK99ztxTnhTwrweZni12jycwPG6OMOIIBAXtozIIzh3DHlZoXdHUGzu2SJfMUz7pzxyhJ1tCaQtnYmexvUuUIx1bQYcm5TcUprF3LhV04DI91ncll9vlG5r0BlUv2JqrBhgu6SdZUa5I0Em6e4A== Received: from DM6PR12MB3849.namprd12.prod.outlook.com (2603:10b6:5:1c7::26) by SJ0PR12MB6733.namprd12.prod.outlook.com (2603:10b6:a03:477::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Wed, 3 Apr 2024 13:33:23 +0000 Received: from DM6PR12MB3849.namprd12.prod.outlook.com ([fe80::6aec:dbca:a593:a222]) by DM6PR12MB3849.namprd12.prod.outlook.com ([fe80::6aec:dbca:a593:a222%5]) with mapi id 15.20.7409.042; Wed, 3 Apr 2024 13:33:23 +0000 Date: Wed, 3 Apr 2024 10:33:22 -0300 From: Jason Gunthorpe To: Christophe Leroy Cc: Peter Xu , Nathan Chancellor , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Yang Shi , "Kirill A . Shutemov" , Mike Kravetz , John Hubbard , Michael Ellerman , Andrew Jones , Muchun Song , "linux-riscv@lists.infradead.org" , "linuxppc-dev@lists.ozlabs.org" , Andrew Morton , Christoph Hellwig , Lorenzo Stoakes , Matthew Wilcox , Rik van Riel , "linux-arm-kernel@lists.infradead.org" , Andrea Arcangeli , David Hildenbrand , "Aneesh Kumar K . V" , Vlastimil Babka , James Houghton , Mike Rapoport , Axel Rasmussen , Huacai Chen , WANG Xuerui , "loongarch@lists.linux.dev" Subject: Re: [PATCH v4 05/13] mm/arch: Provide pud_pfn() fallback Message-ID: <20240403133322.GD1723999@nvidia.com> References: <20240327152332.950956-1-peterx@redhat.com> <20240327152332.950956-6-peterx@redhat.com> <20240402190549.GA706730@dev-arch.thelio-3990X> <20240402225320.GU946323@nvidia.com> <20240403120841.GB1723999@nvidia.com> <3da59746-8acc-4a91-a19d-79a37ac75a8e@csgroup.eu> <20240403130752.GC1723999@nvidia.com> <4b56356e-ac10-4f40-a4c3-7672d6e4a4e5@csgroup.eu> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4b56356e-ac10-4f40-a4c3-7672d6e4a4e5@csgroup.eu> X-ClientProxiedBy: SA9P221CA0008.NAMP221.PROD.OUTLOOK.COM (2603:10b6:806:25::13) To DM6PR12MB3849.namprd12.prod.outlook.com (2603:10b6:5:1c7::26) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR12MB3849:EE_|SJ0PR12MB6733:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kRL9J8thnfwor5HdOUa7p4yWumKXuEJ2Zx/nEOfAu7eZmhZQbtYSYgivUHRmN7NPVbAbdzl5zSrAZxl78rbXdA3W6yGsh6RTbgIVsLt24ygV/6uIb/rmieQMk8fv5Hwt+uuGpqp84oYXTX4+iU1+wAcbJZGBh8a+r65qZLRYCohk0dLhVGkLiWvOD6/Gvwy+aFZYIxjQ99UTHTYeZub3iP2i8F/PMRUinHC59yoopuZ1FvAfY3Vfv2xJnVpRGkq1Qp60XeldHsaFB1ovppLt9bipnbpqcC94fWs4LfJkyVKFeFupypDHKGX7A4oUYwVxgcMGrTZSwvJudEWOuCC8vtyIeuY8N0XcUI8zHYlFA2Vsx8J3sWCrfClqtvYDWF2TWLPJ/KxE058khRv9zGjWFTRDmzp2cNWIQEqdI41W+pr+hFqXFHTsl8KyqwMQTMGO2SjeaIQ30xJpDtO48v8N/ulUnjbGafIIzxOg/NQ9frwxM1BpN8kiFLzr04eTK9BB97/2apll3b/52vTlIOMJqjb+zPMn/cXggJdTQWX0rSp/u+h0E71zOhDsx2kvEUc02iudNgZinBW7ewtLnY9KxL/P4Ez26AuLHJCItkwjvUI5B7Nw/630Yp+DWx1kCQZsPr7KlCLkd4oXl+WJZ0sGuXXQL2VypqvFGUQ43GnI+RA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR12MB3849.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(1800799015)(366007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?xcBv7YUxNnJvSEFVCMkOWjjLygPXZUW+DzdYQcnV+Dk6FL3B4XWJy++Khrxf?= =?us-ascii?Q?ErFKtPYjCmy56C6bgmd3owi0MLQ+9DIL/D9hX5AH2sKKBOw4luGhIgx7Qmfh?= =?us-ascii?Q?ZdWp6ls5cd5tf/grSPMILoSWunuJFCxAvdxJOyPeh4+aSw4sMmZRrL1Awgtn?= =?us-ascii?Q?0qKJC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7sBQox?= =?us-ascii?Q?Klr1N73f3k4VINn5rxyF8BkQT0B4ZwsqGFK0DbkvuzbG7wTK7uHfydUUjKu6?= =?us-ascii?Q?tGvvfhoQfOSKcOuFW3u9X3OKFKjQYvnewWr9WU5hMl2I3D2Xlw8GpPEHAWEw?= =?us-ascii?Q?IDF0NZbVlefVj2OQJ595/GCz9wj+9QiU0mP5gU6pr0Qtyg5IJMN8XZgi7AQD?= =?us-ascii?Q?dQGfUQSl9pxOf/mBPOqeW3EBZozpOiZuyPVYKGohX1FdKRxOO+85xZbqo14a?= =?us-ascii?Q?e9U7o/faH3/sdKyhODa1y/CF2xQH34QZYxBjL9BYmUzvbtul4qVa+Tir67GA?= =?us-ascii?Q?0hmLjoIIp3AK5o8IlqPd25FU4t2GmnXmxwyithfKrkTYr/hH5jPilzces5q/?= =?us-ascii?Q?Wjig231txkl60YWZDqGLi5lbin8LoLCTQ9bdX2F9g5emMzRu+GgWSf71tl0o?= =?us-ascii?Q?rtUY6OpH223msQyiMMsWLuu2nKuoKknni5kiEc/MR1bRcepWYdDtuAt/dfsf?= =?us-ascii?Q?pnF7BejALRcCL9OHZaxL6DhVfONM+YBYUM6NkDXM?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d988ea5-e245-486a-93eb-08dc53e2a274 X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3849.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2024 13:33:23.4534 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JrL5MlnmT3z6hxv0tdPgUiyeUe5lUXFiDsrGMtrbXNgCuXXaiwqyXjaTCtCp1MsD X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6733 On Wed, Apr 03, 2024 at 01:17:06PM +0000, Christophe Leroy wrote: > > That commit makes it sounds like the arch supports huge PUD's through > > the hugepte mechanism - it says a LTP test failed so something > > populated a huge PUD at least?? > > Not sure, I more see it just like a copy/paste of commit 501b81046701 > ("mips: mm: add p?d_leaf() definitions"). > > The commit message says that the test failed because pmd_leaf() is > missing, it says nothing about PUD. AH fair enough, it is probably a C&P then Jason