Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1715922lql; Wed, 13 Mar 2024 06:28:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUy0WRYBrrbXcKbO3QRA1tdCCtrozmOAb8uZoD3lUpLm9xxOmPa0OwT6/ZK0MFLa9G92yJVlpYXRiT6XmMEvABdv24baqA2L8Bf+WeIbQ== X-Google-Smtp-Source: AGHT+IEg+hBedNG51+gNMj9NUdVbv4qLBq8VEvlU+WrUOrG8kQPBllQMDVodngkvLNLn70UC0DJW X-Received: by 2002:a17:906:fb81:b0:a43:29e1:6db8 with SMTP id lr1-20020a170906fb8100b00a4329e16db8mr8082073ejb.9.1710336482079; Wed, 13 Mar 2024 06:28:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710336482; cv=pass; d=google.com; s=arc-20160816; b=A9tiBxRnV4O5jyAxgdX66UNe8Nut2C24q2QsGTUt69KVSePFnLPrLW1XglqLpV972f jIGlLzf/kKxW7wfDOoG0dlx1YhjpK17s0/rZI/cwgbATBi+fwgnxYxAeTFbBsr+7dCfG 95Q81DzpdrMwlCw/HV6g9NkSxN05w6sApHAhTg/7VYR6qlOHKTmo1ZsxfkP9RBlLF46W 0DJVCgTq2LbRQV2SoIMz8cAPd8HTj+fG0pFuO0uf2igpfgT38vWQWeqXHfy5zBZ3PiF1 zG4BKk6usJirbvgUl2Sof+Wre7TR74TrvHHUyvrXRZWCH8Q6JpajO8KcoV7zPkE9kZ4g aG1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=IQye/S5ln4vGa+aP65aQA0pCy7ni1mdrW/tzj5SEl5Q=; fh=p/BXV9fQmN5iY+CDh0h6ZqcPIqCr/19dMU+RPgLtpmE=; b=c/VbI7yaPhJ94W8Ia5x1e2wC8sGl3uWJ3wARu3ZEevlIOT/cVTSn2ae3CirkraVlgr jsdwtSz7Ik48cg7+5NOtKlm34VnoKovRcCB/UQGSvGLoOVocBtkIDQZZJYymcGGKwBYU RsrpkTFnRFuqy6RigKA2gmHaSmqL9HoB19zDAg3MobtA8p9ix3cEdHQPq7NTFiMcg9sm qxyQxE7Cg3YtbSmsKLq21u1BRzvO+vKPeTn72P7syxQo/dlTHvq94OddCXRyXvvrz9MZ P/GBhQBO+R41gei0Sv9PoZewAxWAELwIg9scmEvB22Vw9XWrxC0rAdHHwsBepo4HlC8Q SZVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-101527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101527-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qb30-20020a1709077e9e00b00a443ab914b0si4523304ejc.507.2024.03.13.06.28.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 06:28:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-101527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101527-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CC7C11F23315 for ; Wed, 13 Mar 2024 13:28:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 808A645033; Wed, 13 Mar 2024 13:27:54 +0000 (UTC) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.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 BC5F3446A0 for ; Wed, 13 Mar 2024 13:27:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710336474; cv=none; b=eiAKAGFnWYgBdNeTivP6NVcHREAt18ByZSpp73Sh0J3XiygXVJZH1cQNThH6aZlusPElvby8KqzHoKIYtk5R389H7umLuRHRYppMiynQLxWvDFlhb2W6ee9GDLEcqSrzJTiS89aa3VogvcNOp1fYPzAWuob8OWtxi0CasZMKMKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710336474; c=relaxed/simple; bh=fob+OCoD/ZqFHOa7b+XC+USdOxB3YpQjVsw9rSR/cMM=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=RuyQ+Nhn4/4qUDaDFUv4+0fQwoXZ3NQA8lf6HktVVxVbaURt7s/dfqpHq+8VLAk9FthPAKo8z/FVfZToIdM8+lk8YSYWEBluooGDVWtrRZ6wmSa9lcsaK6M6t1+bOEbYIambSfbGvBapojH49CiERHV8M17qiaZg9bppas78+hI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Tvrsx46Rhz4x0q; Thu, 14 Mar 2024 00:27:49 +1100 (AEDT) From: Michael Ellerman To: npiggin@gmail.com, christophe.leroy@csgroup.eu, aneesh.kumar@kernel.org, naveen.n.rao@linux.ibm.com, Kunwu Chan Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20240301085834.1512921-1-chentao@kylinos.cn> References: <20240301085834.1512921-1-chentao@kylinos.cn> Subject: Re: [PATCH v2] powerpc/mm: Code cleanup for __hash_page_thp Message-Id: <171033598344.517247.16630935060498918995.b4-ty@ellerman.id.au> Date: Thu, 14 Mar 2024 00:19:43 +1100 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-Transfer-Encoding: 7bit On Fri, 01 Mar 2024 16:58:34 +0800, Kunwu Chan wrote: > This part was commented from commit 6d492ecc6489 > ("powerpc/THP: Add code to handle HPTE faults for hugepages") > in about 11 years before. > > If there are no plans to enable this part code in the future, > we can remove this dead code and replace with a comment > explaining what the dead code was trying to say. > > [...] Applied to powerpc/next. [1/1] powerpc/mm: Code cleanup for __hash_page_thp https://git.kernel.org/powerpc/c/d9cf600ecb7b053345aa76c1988cf374260cfdaf cheers