Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1146253lqo; Fri, 17 May 2024 12:06:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUg+0kMZNmPlXD1jh00hxutLR0+8GO9YeLU3lcGEeNPfi9uWY6j0Q1v+MDi/wrmiGfA03w5Iie5ks4hHW43ov2yiBvVEBnVhzOVkHgIQw== X-Google-Smtp-Source: AGHT+IExQpd0CVGmjrnqOOiXE0ujF+Bdu3k18/j5f0D8MErTYzO13AhIM0QveVbqGOfTtOm+Qac6 X-Received: by 2002:a05:6358:8093:b0:192:5510:e3ee with SMTP id e5c5f4694b2df-193bb623eb1mr2721576155d.13.1715972796157; Fri, 17 May 2024 12:06:36 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43e3d3d2f62si50317861cf.708.2024.05.17.12.06.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 12:06:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182551-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=gnawUFF3; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-182551-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182551-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BC1A71C2314D for ; Fri, 17 May 2024 19:06:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCD6C13E3FA; Fri, 17 May 2024 19:06:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="gnawUFF3" Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2076.outbound.protection.outlook.com [40.107.244.76]) (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 23B046A005 for ; Fri, 17 May 2024 19:06:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.76 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715972779; cv=fail; b=f8Z4elDKCAhbmFY2lV4jc9uZI7x0hfMzQ3p5g+O6O2aMwAl0Lw7CQreDrxABLcZxsnhydVNDPhD6+R7y4lKJIguE21Nxjk6dswS8DYQp69GfMaPTqXfzRivFO5GSvMR+kcILF80NGkZ27HJ3KDknCuWrj8Eqs2uKuvz//UUpQDU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715972779; c=relaxed/simple; bh=kiG+61wRT+qlWZYFcgZliknRCXmE4rVFDX/82PIOK/4=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=dA6Epd4z+znAQ+TK6VuLv+IXOm4ZSkrFjTQQvjgQTap5SjunoozlCNXM1tSGN3PhXazOGFM4r5N5qXiZ7etC0C/htmM/PC43s6lIaaOZZT+I9fuA5p78mWLDsARMKSk72AA0ZJXeGhDSvrCkO24vID5+JZJRrokxPNFhzFIf4mI= 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=gnawUFF3; arc=fail smtp.client-ip=40.107.244.76 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=YQdzzeLNigCtby0WP6Hn2Im6dDpwriBNzqB/ZotGc8XKqF8bu5caEBWb6atbPTEqLBBFQzdeePd80g5lp2+uaEOfW4hQnAVgSOz3t8gQ0m/XOdsH7LfnGj5FIV4fQFjbdhMlD3UiN1jdJNW+aR3IWlF62n2aGirdf3YfaAXsi9smWJianFhqu7xswALxkidCvJXnQP3pTIop42PNivCRV5wfftGW7KqlcJCw0aanJajHMsguTUd9oyyzWRGfBYWrYeoaI3T80Apl7g7bvkEGexBGqQVLXv2+DkgdLTEFiJVCDH2Bkg1g+wIjxVJnBD+O/+V5KGMmL8nF8u5nT1STZg== 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=kiG+61wRT+qlWZYFcgZliknRCXmE4rVFDX/82PIOK/4=; b=ZuwXXy385+QgClw4zE/lMsBq5MCSMNQXR9AfFMAvIgSE1ovZ4PfBiNm5/nP1ltpTMVXSSu+8Nl0aJrwdqUzGtErPJrf8jsCKK8BdfbpDsZiirE03yqoJ4zV45UR1IbLZvKcAqvo926ZNMP/70A0z4ePUBDjz6BIrgFi3jjaU0T6nsNLa1eabULb7lgSpZuue+isEJQDWa7r8omlKzTT2oBgpmd4eNZPly/urmSqIXKuTGkGzFCx+esboWYAU7uqZqev5GiI1+KlbJGO9MP9ffmbpyxUnZvJnQtJnXDkjSzxtBobNguL3V5rhICVZnl/30pUMSJ4V6ihAc/2EcxYO/Q== 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=kiG+61wRT+qlWZYFcgZliknRCXmE4rVFDX/82PIOK/4=; b=gnawUFF3h7IxW/AE0EYKijZ6s1+f35NH7P9HgmOKYlc4OCXvaQFWMJbKM//FlYuD5WtPcxdUqdFX4h3lAUZKQwKnitTNgepKLcOyWsMwQ8fOSWmhJ5z1p0sNS2Rczq70s8qjB4zw+IYdgbBViOAYzAL0Gn5W/5C4ZZb7RUJbzBJmXIIkSmBUS5R4MjT9B5EyvbVl+03YMi+15YvImxTmecQWqbm3W8AALXKCqInkBQ3FLeLCkbgqr8lsdO+DwFm+zGtzmxuU4H3RFvdB6+V+P+Ciq58nrSt5HMHUumuqVYNGPiFU4jn7Wt0ajP0wvNt+3gV9QVdmmJmomaHGbNiemQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from DM6PR12MB3849.namprd12.prod.outlook.com (2603:10b6:5:1c7::26) by IA1PR12MB7733.namprd12.prod.outlook.com (2603:10b6:208:423::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.27; Fri, 17 May 2024 19:06:14 +0000 Received: from DM6PR12MB3849.namprd12.prod.outlook.com ([fe80::c296:774b:a5fc:965e]) by DM6PR12MB3849.namprd12.prod.outlook.com ([fe80::c296:774b:a5fc:965e%4]) with mapi id 15.20.7587.028; Fri, 17 May 2024 19:06:14 +0000 Date: Fri, 17 May 2024 16:06:13 -0300 From: Jason Gunthorpe To: Christophe Leroy Cc: Andrew Morton , Peter Xu , Oscar Salvador , Michael Ellerman , Nicholas Piggin , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [RFC PATCH v2 00/20] Reimplement huge pages without hugepd on powerpc (8xx, e500, book3s/64) Message-ID: <20240517190613.GC20229@nvidia.com> References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: YT3PR01CA0021.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:86::32) 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_|IA1PR12MB7733:EE_ X-MS-Office365-Filtering-Correlation-Id: 07e7c1c6-0141-413c-fc78-08dc76a46c47 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?ky14PJg0gN/RBz5IlitIqRA3IzY9RugVfMofNYQDNiFRC+TkmAhPBnLVvu2A?= =?us-ascii?Q?MWISeFwzJMhQzL8Bb5niPixzDnnMCRN/ZEAMmpg3xt/bPy2et2vl975EGvdZ?= =?us-ascii?Q?nTQLGnoqD7UVunaVD2tXJl5ETjRgdw4UF/3ROG4X3EDHKeWCkAxYM/1BWwBF?= =?us-ascii?Q?e9aTKNCYaZWqAoendOHwZxFYgjP80RP4eAMGzaXoe7Xs9k69HjSa1A6UOcau?= =?us-ascii?Q?fD1SI3Zd5+qNfhjZveXXcQt1CK5pkAYS9wtvVhCBATgYIoqZJ1YVS0A1SgFY?= =?us-ascii?Q?aOkhHW9sTnW3C4MnmTXocTrthbWs1U3EUqaCVHTfY2+zXzxCMlp/tsGAXkqJ?= =?us-ascii?Q?6vczz+p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amjnCl?= =?us-ascii?Q?U/W4lbnENzPSFfb/jit6wcL7+mtv/3wMQKeWIArTtQ=3D=3D?= 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)(1800799015)(366007)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?/84UMeYSayL8VuUCQWaL8vDU21/fEK3ECwBgfFTJO+UWnWKYl7ykfrqTH/LE?= =?us-ascii?Q?ENvruM+PkvQuyUbP4gLJtKnyUQh8qhpk8JxSQdipWc8v0VucsGHZrYLOj6Jo?= =?us-ascii?Q?26G6RIJ6yh8mAp9z+HamDHrm1xAWVdhQFj28i825AIruDSB2XUIlOrgqXZZO?= =?us-ascii?Q?azcT4i7OmIBnIb4O1CmxA1yBJ2KmaHiZ9yg53dzieL0uJrOVO1+cNvYByruY?= =?us-ascii?Q?eToXunxagg4nRNhBv8iGiR7YfzhFGY+7kDQWptfrwLAeSYrFE+ywRnNGAqED?= =?us-ascii?Q?xo4Iu/0RMPrc4Pyn/uFoDNEenOWR8bzP0/fXeN9ffHezPaqKdkwQC5TqeSQl?= =?us-ascii?Q?Rp3YHQAXkVEf5JxXE9ICLkmRLTkgWbcF4t+sI0DHQJDq+JrLbj8lRA1p9UYG?= =?us-ascii?Q?PXv40PQvLMke+C/bvkQk7ecnUooAXqoemYsgDzBzZptyjsOfZA7G+eZ0yQxD?= =?us-ascii?Q?uNMjKON9JjGm5F8qdM8mYfR3hFN5H2D0Op48IpQT2w6rBX53Xqmv81K+ST2z?= =?us-ascii?Q?ZHPOern1sONIvwRnsE+ppx1MicwBsiRP0FdiHMyPErKj5o3OvMfEKqN/3v5y?= =?us-ascii?Q?DzKk2+ufPU1JPs4XKt/xqL+0LUTFPS6okoBZB3cTGkm+P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rOR1f8wmftVGkx5+rElgKCPqcH4/mWQLTaRwdHrv/uq4onOc?= =?us-ascii?Q?o8Z9aZLLaC3HIBJWy2rgEQikWf2tdtV2kHmev2nh?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07e7c1c6-0141-413c-fc78-08dc76a46c47 X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3849.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 19:06:14.4313 (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: DvgwwW5MinO2kgcDm7Y8+4TyK7QF9HU/FhwpU88EChKgmCMcSGZEtLnR4UX5acIy X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7733 On Fri, May 17, 2024 at 08:59:54PM +0200, Christophe Leroy wrote: > This is the continuation of the RFC v1 series "Reimplement huge pages > without hugepd on powerpc 8xx". It now get rid of hugepd completely > after handling also e500 and book3s/64 This is really amazing, thank you for doing it! Jason