Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1400423rdd; Wed, 10 Jan 2024 19:45:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7irFFKyDPVyCzojrLeJrYWlyk0KcUC5hcgSjRasuYca6WNoruhSUNN64fabYEIDl/Qo14 X-Received: by 2002:a05:6a00:14c2:b0:6d9:8453:1b55 with SMTP id w2-20020a056a0014c200b006d984531b55mr778426pfu.0.1704944754170; Wed, 10 Jan 2024 19:45:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704944754; cv=none; d=google.com; s=arc-20160816; b=cbVxzdTgUsYNHPilktpVlq5PklQvARepd9wGR0Yj1fonuEQSUQo/cxGEl+6DCapek5 eAnRSanCRgSBeHm45Htd/MzBN1tgryetdUN4IV1MhA3PcnCnwSW1ro8wkt5z5ZIIGwrw QczfiQLpPwIj7YhoJZkGVwugBGTXI8boKdlMSwIEVjrNOLwB1nxQqvYJt9WVXwuBEFIX o/sQiGuqIgUbESuI54K9PBk8RKiqb/kHbPiRyWXpstnIAPGQl2CdxsFEn7PxOK6bQU6q aJU8825qA4welivIr0W6b6byHCUyEY18FoaGPy5nak5H4IYjNmTel2DGm5fTRoqS87LI dojw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=U+CspYEcNwuvAfYHCq77jqt2mm1/5Jx/MXmX2v4wHTA=; fh=VDNXXtpPqCBlyRPaH22FnTL1ZV/rdU8i04FuoctN/u0=; b=Yd9KttbHaPn6jaoPX02+fi26XnV676EFt+MdAAkSZGQJezcz+sB62jEbLPzKvSRflI s12ld1xvppm2SCpI98syS+tDsuyj9s+BDacoZB3L89apoOdEyqjpL6sA76iNoBixC9C5 0waEh+Ms8U4l+/ji82q3iYWfyX9eVYpz0m9a7RLzfHM7rtqjjNrX4fgwUc9BHBcV/Kjl TXhcWM1o6AVMCt+Eh/gIyC70o1eMHcbP6zmYN+ssx8oBNeW4RPAgpBz11epjhaYPlFb4 eccjzHgcWaEVzpHJry2qPcyCIG3BbdTbDRlC7kJjlhIrpaoTSBJ1uFopOhF8noWUsvHX XTPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=jaPkQKwS; spf=pass (google.com: domain of linux-kernel+bounces-23042-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23042-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bz36-20020a056a02062400b005bdfbf1d562si233463pgb.192.2024.01.10.19.45.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 19:45:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23042-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=@linux.dev header.s=key1 header.b=jaPkQKwS; spf=pass (google.com: domain of linux-kernel+bounces-23042-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23042-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 34963B24E52 for ; Thu, 11 Jan 2024 03:45:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E8E01FD2; Thu, 11 Jan 2024 03:44:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="jaPkQKwS" Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) (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 1034F184D for ; Thu, 11 Jan 2024 03:44:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1704944693; 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=U+CspYEcNwuvAfYHCq77jqt2mm1/5Jx/MXmX2v4wHTA=; b=jaPkQKwSulNW+6GDnxLN4KdvaU6ETidV9TpYvT13JhBsYwSTeKxFBJhZyPMj2LpKB2tBDS neQPOGGy61txQzZ20StvoMeJ7gAmtUec8rKDsTMqKDEdnZm8Euc43nxUMGCrVIEG1413Ey VrYFBp9uA50wTh3dwu9bKYivXM9BJXo= Date: Thu, 11 Jan 2024 11:44:46 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v3 2/7] hugetlb: split hugetlb_hstate_alloc_pages Content-Language: en-US To: Tim Chen Cc: linux-mm@kvack.org, Andrew Morton , Mike Kravetz , linux-kernel@vger.kernel.org, David Rientjes , David Hildenbrand , ligang.bdlg@bytedance.com, Muchun Song , Gang Li References: <20240102131249.76622-1-gang.li@linux.dev> <20240102131249.76622-3-gang.li@linux.dev> <9b95c0ac0e5d560f1482af3753df54211a057b9d.camel@linux.intel.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Gang Li In-Reply-To: <9b95c0ac0e5d560f1482af3753df54211a057b9d.camel@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2024/1/11 07:12, Tim Chen wrote: > On Tue, 2024-01-02 at 21:12 +0800, Gang Li wrote: >> +static unsigned long __init hugetlb_hstate_alloc_pages_gigantic(struct hstate *h) >> +{ >> + unsigned long i; >> + >> + for (i = 0; i < h->max_huge_pages; ++i) { >> + /* >> + * gigantic pages not added to list as they are not >> + * added to pools now. >> + */ > > This comment unnecessary as now we don't have mix gigantic and non-gigantic code, > which uses foilio list. And folio_list is not in this routine. > > Can be removed. > > Otherwise Reviewed-by: Tim Chen > Thanks!