Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1359774iog; Sat, 25 Jun 2022 07:23:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tZ74+mQjsoB3ARxcYDlNHboEfe4HOq2WXX9xtIr2UDT+AvcVsJItGOuTszQ5+YGHlKfHyq X-Received: by 2002:a17:902:e810:b0:16a:2934:c8f7 with SMTP id u16-20020a170902e81000b0016a2934c8f7mr4752347plg.171.1656167005142; Sat, 25 Jun 2022 07:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656167005; cv=none; d=google.com; s=arc-20160816; b=hqg2Ftry4Mp3Cbt93xbJ0nmoKAwZvS3Ik+NUgMeN90oOGXqCWJAFgNeIUpvtUTpaVj nyFzYDXIzmfUrQqDlR2ZUNSwnpFKDhlMLvRtaLmECa6woXoAoLo0GAMH1W60gmEhUigy 8JmIscMOQXOypQPoSStHyZV9O75LwCVwz0iCF4pJxWfokFd9CuaLyLCoOLCcVD9CM/Ga MaKRZ5tTENPvbiuG+1JBD2UhMKq3gwVJ9EEqyN6P1YvveM8Dud0xpzNPa0r/BYrZmmwx 3o2moCF4l39q615/P9h2gg2kO+LA2YKlXoDD1Lsgo6z3h0gY+TzG8/n7wT76NolLXyXY dwTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TSO5EwZ6bOpS5wonwfNYAIs8VC6UGIKvxeuG8gWSThM=; b=KMtrA6qSsmmvMA1810Ktw3GshrzlJ+3AWbI/qF5fvZNpzFFKxEaRcQnp5cr7YtMPp1 s5JGIKmBPBXBxtDkzGsIItavcLCSqpzafxolJydm4a39bKRGMvz/YqQoGbHAMLEfNZzM +/Cqo2mtxovbi6BQLb/yBKq+NXkE5jXAjWIFEh8slaDNNVLRLFmhaZZs29EyyKV+AZwA ZUbZU5inAtVvDDsaXw3JjZmUd0sjpiPZmpWJfqcIviUbbowJJD0hoplIKLnBoJR2I1Sv e4IfDkvc9zSzO+VvGhNHRTiRGGEgoul/rM2tK8CiT4IaTzMlixNmMroLCo3ccEQT8hul 3e+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zZIYrZCu; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 78-20020a630651000000b0040d4ea0274dsi7303406pgg.612.2022.06.25.07.23.11; Sat, 25 Jun 2022 07:23:25 -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=@linuxfoundation.org header.s=korg header.b=zZIYrZCu; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232729AbiFYOHh (ORCPT + 99 others); Sat, 25 Jun 2022 10:07:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232429AbiFYOHf (ORCPT ); Sat, 25 Jun 2022 10:07:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36F9910565; Sat, 25 Jun 2022 07:07:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C21F66133D; Sat, 25 Jun 2022 14:07:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B02C0C3411C; Sat, 25 Jun 2022 14:07:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656166053; bh=ja0u1OIeu4O2af+Vh1JG5/d1M617COx7gkeZFBwpNik=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zZIYrZCuWeVFMtOIAtoIJYj+7J/VzA3petQE2K02iLnSZC8u5zPFhm4x96sCwI1Af eB+tm54QsvuK/ltku0ahaDwwqId/yIoLkCf+zXTNMyrP6DyQwrkjf1MAHgbliuRyZD 08FX5ODxBPmRNI+qu0Bqf7ou9xNYFx38T30bgGI4= Date: Sat, 25 Jun 2022 16:07:30 +0200 From: Greg KH To: Huacai Chen Cc: Muchun Song , Feiyang Chen , Andrew Morton , Matthew Wilcox , Vlastimil Babka , Feiyang Chen , loongarch@lists.linux.dev, LKML , linux- stable Subject: Re: [External] Re: [PATCH] page-flags.h: Fix a missing header include of static_keys.h Message-ID: References: <20220625080423.2797-1-chenfeiyang@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Sat, Jun 25, 2022 at 10:00:43PM +0800, Huacai Chen wrote: > Hi, Muchun, > > On Sat, Jun 25, 2022 at 7:17 PM Muchun Song wrote: > > > > On Sat, Jun 25, 2022 at 5:04 PM Huacai Chen wrote: > > > > > > Hi, Muchun, > > > > > > On Sat, Jun 25, 2022 at 4:50 PM Muchun Song wrote: > > > > > > > > On Sat, Jun 25, 2022 at 4:04 PM Feiyang Chen > > > > wrote: > > > > > > > > > > The page-flags.h header relies on static keys since commit > > > > > a6b40850c442bf ("mm: hugetlb: replace hugetlb_free_vmemmap_enabled > > > > > with a static_key"), so make sure to include the header to avoid > > > > > compilation errors. > > > > > > > > > > Fixes: a6b40850c442bf ("mm: hugetlb: replace hugetlb_free_vmemmap_enabled with a static_key") > > > > > Cc: stable@vger.kernel.org > > > > > Signed-off-by: Feiyang Chen > > > > > --- > > > > > include/linux/page-flags.h | 1 + > > > > > 1 file changed, 1 insertion(+) > > > > > > > > > > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > > > > > index e66f7aa3191d..147b336c7a35 100644 > > > > > --- a/include/linux/page-flags.h > > > > > +++ b/include/linux/page-flags.h > > > > > @@ -11,6 +11,7 @@ > > > > > #include > > > > > #ifndef __GENERATING_BOUNDS_H > > > > > #include > > > > > +#include > > > > > > > > I did not include this. The change makes sense to me. But I am > > > > curious what configs cause the compiling error. Would you mind > > > > sharing the config with us? > > > We found this problem when we add > > > ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP to LoongArch. Since this isn't > > > > Good news to me. I would love to hear more archs support for HVO (HugeTLB > > Vmemmap Optimization). > > > > > upstream yet, we cannot give such a config now (the default config of > > > X86 and ARM64 is just OK). > > > > All right. In this case, the "Cc: stable@vger.kernel.org" is unnecessary. > Maybe make randconfig will have problems on X86/ARM64, so backporting > to 5.18 seems reasonable. Unless it is proven to be needed, there is no need to backport it. thanks, greg k-h