Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2128869lqb; Mon, 27 May 2024 08:44:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX29399bEITuf8y7Q1prKdTK3tyBfVF+uQo7/U1W5Pvp6nRIte1Djuxqer1o097vIv1NrHZpEtbzOgNkOJzhEmBKRvNYX463zFrdCpYGQ== X-Google-Smtp-Source: AGHT+IF9fWrKveUIpy02pTikryv0GTDEh6H80ItVK/UiiURWFeB5ns4Rt6nUar99/zY4Z4DaAtOD X-Received: by 2002:a05:622a:1b8d:b0:43e:1039:8ce8 with SMTP id d75a77b69052e-43fa7456253mr226559351cf.14.1716824649086; Mon, 27 May 2024 08:44:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716824649; cv=pass; d=google.com; s=arc-20160816; b=CByFuHAQtrs+muS19MGcX2diBYxhr+V3DG1cYFsYVMyZmrDYhzv2D9LO6B3wAnHnbO 7sefQ4ZE8iaXe6U5xS1HcGxt87A1mK3ROD/Q9CaF7Z3dwyregmv8falIWhyHiNqy/1Tk /JTzwrx563mRElgdkPQmIWkfGSFxM3mu9Y6+9QERkuuj47A4FDkDjHLDMILc2XEqQxUK 4PXu8cpjT+DVu9j0yCcv9YyK+w44pnLrOSAupMBXvpxbTowzx0vrDQ3f0I8KBg4z/9e0 g5uXNhJh2R5PoOuPYvgalrUUifVnDlkjsTsKAEXBYuSU8xgF1W21N6NuNuAyyzFejcxZ 3TEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jYZGz7F2HkN4H4qp3H29TFAfu9PHGhaYKuv4XtGKt7g=; fh=xrn5HqK6TNJa/CSZhDCmweS2RR2Oe2Tuqk3Tz1bLI4U=; b=sXGa+UP556wDjnb24AwvCltPdFcy/8Y4McHx+1s+K2XdTIejMlKYSnqDbF1eIFR6Jb BA2eIJLLTvn8CnS+mzBIyP3pgwZthwJpvhM4UH6NKmMxPRKYXU7GYT2eUbgaBRHd8t19 yAJfmmfTnL8aPJIag7iZ+Lp+7pMfu3HPGDl3puMK2cYae2I153iEC0k+5MP4CwqJ4Oml hqMaUDa+I7X04GWcsSzfgqVe0e/+zmf+WhR7HCn1Myj21ftIXZQ0n5BZFssRVDXK6wi+ AkbPH97tOTlm79cpVqI3GFHwrU9yF30CWdulkQKUGICtaVED3twqD/yO0qqW8LvEmcYk c3AQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=He1fKpCW; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-191089-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191089-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18b2eedsi80919141cf.493.2024.05.27.08.44.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:44:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191089-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=@redhat.com header.s=mimecast20190719 header.b=He1fKpCW; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-191089-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191089-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 BE0591C22346 for ; Mon, 27 May 2024 15:44:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7673F61FC5; Mon, 27 May 2024 15:44:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="He1fKpCW" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 58F3D1E868 for ; Mon, 27 May 2024 15:44:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716824643; cv=none; b=qgLsj28RQYHu0taLtjquTxQjucLxts3EVvK/uu+mQExpRxe38sr6CleppeKefEY0VxWS55g3Fnepaqqda/J5/6kggYLTctvSgCR4IfcgpYYyymYVb3YpHO4UjZ3WCyapP4dPYio2cNHsW6KZOj3Q9IQGJU62rVNmMgP9WRScq8g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716824643; c=relaxed/simple; bh=iFiJRTERvUUOzw9z/0q2wi+diCNAv1X6Y3kSP+r2fa8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g0o2rWLcrAAgOnk46rSNLLl8p+BQ8W/q/h1YZHkjPzs/Kjw4eJb/SljbbW/VKSD0RByCr+EBBjhUB327wBuJSb1vOsqiu6wsOXguZbMlzIwWhS1E0+ci05QlxAYbZfBtWscaT0l2PS+7M5H0PkpiF0UInke9xlLOwOfNd+n6Rlk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=He1fKpCW; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716824641; h=from:from: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; bh=jYZGz7F2HkN4H4qp3H29TFAfu9PHGhaYKuv4XtGKt7g=; b=He1fKpCWjfww1QGs5CGaQDL9+4X2Egrg+FtGzncu+IRpyJ88CSxpLPH0oxFNe/j+g/YLp2 6fq7D8IUhpvhw97jmrizlMgQFqbNs+9N5ml2UO9xVyR4l43fa+WFvCTVfYxvbR8bZb/N+J IDms2FG8NBUfycJDn9ljJD5GLkUjhGY= Received: from mail-oa1-f70.google.com (mail-oa1-f70.google.com [209.85.160.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-127-iR73HncPO8Gt8rFiqAwdow-1; Mon, 27 May 2024 11:43:59 -0400 X-MC-Unique: iR73HncPO8Gt8rFiqAwdow-1 Received: by mail-oa1-f70.google.com with SMTP id 586e51a60fabf-24cac33e215so27995fac.0 for ; Mon, 27 May 2024 08:43:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716824638; x=1717429438; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jYZGz7F2HkN4H4qp3H29TFAfu9PHGhaYKuv4XtGKt7g=; b=OM0jctf54vSDHOCAusM6zb0vG0EGdcF+ihHQmrhw4dXFPh1WifyTy6r/hJkToibOv+ pgutG6mY+sqAD348k1sPbkDZralg6bMbDu8zJoGk4HMDRFtsldWylJslpmPJu64cgPo4 IrUIDL3j2yx1rFAqkGy8PWlP3NI7e0Dd2NeJuCQtS0y+WhrdddNrdiR5vMO5DpKYt17Q 1ymkXl7AJK+nkM9dVY1J+mFoWnmVkS+Myjnl0ywcUUvuD4J0fv1poOP+A74sLDZu4bDE 9j4CbRAWKEGlmj2OAAi9rkfG1+0rIRui7m1Ow8ikEFNXyZX+RnNpy191Gx0dyObmTt6q WRZw== X-Gm-Message-State: AOJu0YxTk65cT/tzwS5sTI8s/IA1n+bNY32cF95FvUQEQgBKyRdys1mS bumKsJSUWlL4RLi/Ei3IP3/I05VWUPrOVnS2rXsIO7VpRdmiUChdTlf8iUTP5t5abOiIsVeO191 Zcl0IclCH+BmA7lSRyrcLCPakLs7zLnY40PMEGQ1tyKelts2ggW1Js75KSkBF6Q== X-Received: by 2002:a05:6358:716:b0:192:47fd:8be3 with SMTP id e5c5f4694b2df-197e5671b94mr1114625255d.3.1716824638232; Mon, 27 May 2024 08:43:58 -0700 (PDT) X-Received: by 2002:a05:6358:716:b0:192:47fd:8be3 with SMTP id e5c5f4694b2df-197e5671b94mr1114603355d.3.1716824636813; Mon, 27 May 2024 08:43:56 -0700 (PDT) Received: from x1n (pool-99-254-121-117.cpe.net.cable.rogers.com. [99.254.121.117]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6ac070c2eeasm35518706d6.19.2024.05.27.08.43.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:43:56 -0700 (PDT) Date: Mon, 27 May 2024 11:43:54 -0400 From: Peter Xu To: Christophe Leroy Cc: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , Andrew Morton , "x86@kernel.org" , Muchun Song , Mike Rapoport , Matthew Wilcox , "sparclinux@vger.kernel.org" , Jason Gunthorpe , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2 12/14] mm/treewide: Remove pXd_huge() Message-ID: References: <20240318200404.448346-1-peterx@redhat.com> <20240318200404.448346-13-peterx@redhat.com> <60ea6d69-a5f8-4e7b-8c4c-e54488adfadb@csgroup.eu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <60ea6d69-a5f8-4e7b-8c4c-e54488adfadb@csgroup.eu> On Mon, May 27, 2024 at 06:03:30AM +0000, Christophe Leroy wrote: > > > Le 18/03/2024 à 21:04, peterx@redhat.com a écrit : > > From: Peter Xu > > > > This API is not used anymore, drop it for the whole tree. > > Some documentation remain in v6.10-rc1: > > $ git grep -w p.d_huge > Documentation/mm/arch_pgtable_helpers.rst:| pmd_huge | > Tests a HugeTLB mapped PMD | > Documentation/mm/arch_pgtable_helpers.rst:| pud_huge | > Tests a HugeTLB mapped PUD | > arch/x86/mm/pat/set_memory.c: * otherwise > pmd_present/pmd_huge will return true True, I'll send a patch, thanks. -- Peter Xu