Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp98923rdb; Sun, 21 Jan 2024 19:43:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqcLZsVC3TDkJlZbhMUFWfhJXnzOvZzpfTdcRNBXFbYuWvj+qhBQX5pxwqhx94ZQYZToWh X-Received: by 2002:a05:620a:5642:b0:783:9a23:e950 with SMTP id vw2-20020a05620a564200b007839a23e950mr2156780qkn.78.1705895016392; Sun, 21 Jan 2024 19:43:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705895016; cv=pass; d=google.com; s=arc-20160816; b=06yCDHFNQ2xPpEYPF1N6kl9rjTfbx0x2jq2HQfwFwQ/IrtCzxcAzIwVTWaEqaGv8Ov Khfez7ks2e7Ef+my23p9OzZI3fzNhL+Qo2OnSdLh+xZ3XMno6zkGDWzifeXSZuQTH7Hv 5D5ZgCVVJrwN2vtaCrixCaWHrYuajqsav93GmxRsJffO7Q6P4KiKPHX1gtNnGbqJKhaN LrbulNAsX03R6dgFLjBnmOlsKx8WHNJD56intPsZavm4wGEPg5BTbGnsW31+sWh5Wscg wHFTGA8B4EcVJ54AyH3HK0qy7ZHf/eSNs2pEzQCo2Xvewmu+JQZlb3y+j2hBzobW0LXO pl5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:dkim-signature:message-id; bh=Zav3JLtbksYkb7oLMEt+OT5Quf0+iKX5pRsreBbhiYQ=; fh=fe/c9hzSQFh7ilcieiwGGCtExCVyZxSDkymKHK6hSLM=; b=Rp2Ae41W8prgVo7fiZ6nTE6JFSl3+NCVk1BNKKc4R9kEh8TjYrDuWNqesGsy+1txna Sr5uWuFHQsnOKNHRJFsot+012f3q5g1/NhTNG4JuLwb2ffWg18m4bo/5Wgv+Uua/hkM0 qoGTNSP7sz0RvAS4A2HRcakkYgdFTsiCCn1obsjhyVphZIu5LRLn/29Ui+GpCwDGkuXD dYtPVyarolubX26jAr2PBADOS3jkjbsAQv0W1rsefvwCoAm0h+42yHVyrPTG1zGL44E3 2GGIuIpXmSw7xtlg34tI/mRzZsmuPUiKv5ipUOZ+XPJG+eIUzJqsXvjTORxkmVOt7kaS 1qiA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=r0xzqVpn; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-32308-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32308-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x19-20020ae9f813000000b007834b7bf527si4784278qkh.351.2024.01.21.19.43.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 19:43:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32308-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=r0xzqVpn; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-32308-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32308-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 296681C22207 for ; Mon, 22 Jan 2024 03:43:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46E9F1C2D; Mon, 22 Jan 2024 03:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="r0xzqVpn" Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) (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 298741849 for ; Mon, 22 Jan 2024 03:43:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705895009; cv=none; b=TQMYs2iyvJxxaJ9Q3cenYBNKw+vYqOFxR9+g7WXVwbnSA1uieN5CBOedf0hthrQcElxa1vNkPM1rQX0F9XuHeYq8eQozJFvLfOBT+67BPhdr7joniL4pyXE8Pt0h8LeHYa+yhzmWYLXM/nrrgGkbckrbAIDfmYo7GYcTLTz6Fqc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705895009; c=relaxed/simple; bh=Zav3JLtbksYkb7oLMEt+OT5Quf0+iKX5pRsreBbhiYQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kY9NDmOa95cD/4nD3OCObgzmfQlHvGAT6FWQZXStfdxd/2I/xo+Wgv0DteI4ZB+PzDoR6mpOjUHAKyLSw6pdveTNZ/+C3zkfN9rsiyPOo3P3V+6WuSUp5FwFLU6G2X2iED+C0gBjYNzDffuMOA1e6HhPA2AjP4NPm7bvn/zOFok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=r0xzqVpn; arc=none smtp.client-ip=95.215.58.177 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: <24976e6b-caae-4355-87df-5c8fc9ccc1f3@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1705895004; 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=Zav3JLtbksYkb7oLMEt+OT5Quf0+iKX5pRsreBbhiYQ=; b=r0xzqVpnw1U8TznkDevK3lrHWiDfxMHmbk3Ew3bOPDYt1Eg1MgZ1gGxWNyKLdt7OxilZL7 mwuHIldsUyPPNCVGI2AjXVTZnP32m3IBHqOP6RtG2+7cvYn87j8H40kGjaU7C7ZJuSt1E1 ipApGQldih2B1HpNwTHucW7AZhidfFU= Date: Mon, 22 Jan 2024 11:43:15 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v4 2/7] hugetlb: split hugetlb_hstate_alloc_pages To: Gang Li , David Hildenbrand , David Rientjes , Mike Kravetz , Andrew Morton , Tim Chen Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, ligang.bdlg@bytedance.com References: <20240118123911.88833-1-gang.li@linux.dev> <20240118123911.88833-3-gang.li@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20240118123911.88833-3-gang.li@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2024/1/18 20:39, Gang Li wrote: > 1G and 2M huge pages have different allocation and initialization logic, > which leads to subtle differences in parallelization. Therefore, it is > appropriate to split hugetlb_hstate_alloc_pages into gigantic and > non-gigantic. > > This patch has no functional changes. > > Signed-off-by: Gang Li > Tested-by: David Rientjes > Reviewed-by: Tim Chen Reviewed-by: Muchun Song Thanks.