Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp889771rwi; Wed, 2 Nov 2022 20:43:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5iO6R/sYvCUIP9QUf8tgkBHuSl8h9NsnHaFlXws5snoeZxMjKA+/w/bB4tnTvP48uLQbJB X-Received: by 2002:a17:907:9705:b0:7ad:b14f:d89e with SMTP id jg5-20020a170907970500b007adb14fd89emr25630675ejc.745.1667447036469; Wed, 02 Nov 2022 20:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667447036; cv=none; d=google.com; s=arc-20160816; b=R7/JxyeNHa2XBYRfFrhpFYNMlzCSNK1ZwNFB/fPkOdSXzw/wdJILRSOik6SB4GbkvV +TlptSyc+Al1JVp1uhB5Uexpt5SoozJ9HloxDJQGdrmsY0Jm54a5SFvYAgqiVwhIFdXA cSOr+exl9vlfE6h4l+xX5FOyMfJaNDdEEPMjwaOvEufjlQnUstQLXqPU61veKQ6iNOlZ MFz4OOb0JznB7qC6s2FBKEA9wjdDVZs6k3APSk0X7M9b4bmrZ+jsFftOGV817lm9jWd7 iIxYQoToKS7fgjT4V7aQGfTT1ZxrEg6YjLsx5L2D1eTHBFarFYls0q0sQe6N6mw3YuYE /mRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=o9XdBdpdcG1/NkMU2aaMoc8QZfSgfsLLPXvYeGPTeUY=; b=shJDA7Xrr5cTeIqdcHcemCkK2B7rYSWmTvveNloOcXwQwpJInCXdCz1RkyWmV/S0O5 ZF8m3X5QZqwbMkLfLPYkvjwBkSw9ZH1UeNXmzxulajZy5GFgyaFcq0EgbtWhAPzbWpiT 5zwssYl+s4/UaUccybQIUQ6r1ZDwg11gJt0n8h+H6zoz0FbAEsKnFkire9ROvXiuMidS NOOuNUFLp9zE+xxewirQs+nl54JPxrso6oWhSJUlqw32J/d/UYO37NAjdw+Tzg3XRMbZ hMPF0GwPSt+oVpjlR3kyGy1pWIZydImx72KtP0QDZ8lDdpenI2wJs85FzWwTYj9ldIC0 i/vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="gd3IyuG/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020aa7d9c3000000b00458b752f449si16186119eds.91.2022.11.02.20.43.33; Wed, 02 Nov 2022 20:43:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="gd3IyuG/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231218AbiKCCtm (ORCPT + 97 others); Wed, 2 Nov 2022 22:49:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbiKCCtj (ORCPT ); Wed, 2 Nov 2022 22:49:39 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAE596327; Wed, 2 Nov 2022 19:49:37 -0700 (PDT) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1667443775; 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=o9XdBdpdcG1/NkMU2aaMoc8QZfSgfsLLPXvYeGPTeUY=; b=gd3IyuG/n82G0J624HScRl7Cu7uerzZIPzi0GblFWqs2cgvdf1IRZZrXl28hHno3iKYGkP aKzHQUKDA6jjjFMdpUo9UwmVc/NXfUDTzfD24vdzdd4DNAGB8liwZ655wekHdp7A5Zob5i qbNEmS2q1/4n2GYtiXg14HQcwxmfQ7U= Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: [PATCH V14 4/4] LoongArch: Enable ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20221027125253.3458989-5-chenhuacai@loongson.cn> Date: Thu, 3 Nov 2022 10:49:17 +0800 Cc: Arnd Bergmann , Huacai Chen , Thomas Bogendoerfer , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Catalin Marinas , Will Deacon , Dinh Nguyen , loongarch@lists.linux.dev, linux-arch@vger.kernel.org, Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , Andrew Morton , Linux Memory Management List , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Feiyang Chen , =?utf-8?Q?Philippe_Mathieu-Daud=C3=A9?= Content-Transfer-Encoding: quoted-printable Message-Id: References: <20221027125253.3458989-1-chenhuacai@loongson.cn> <20221027125253.3458989-5-chenhuacai@loongson.cn> To: Huacai Chen X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Oct 27, 2022, at 20:52, Huacai Chen wrote: >=20 > From: Feiyang Chen >=20 > The feature of minimizing overhead of struct page associated with each > HugeTLB page is implemented on x86_64. However, the infrastructure of I'd like to refer to this feature as HVO (more simplified). > this feature is already there, so just select ARCH_WANT_HUGETLB_PAGE_ > OPTIMIZE_VMEMMAP is enough to enable this feature for LoongArch. >=20 > Reviewed-by: Philippe Mathieu-Daud=C3=A9 > Signed-off-by: Feiyang Chen > Signed-off-by: Huacai Chen Acked-by: Muchun Song Thanks.=