Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp256359iog; Wed, 29 Jun 2022 23:35:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vWc4Mko/m6GOILC9D/4baLrFJJtj4l6/oop9gNdy2jBhdJpa/5fgdnPdLjlK/pSWb+QGz0 X-Received: by 2002:a17:907:7daa:b0:711:d911:2691 with SMTP id oz42-20020a1709077daa00b00711d9112691mr7261508ejc.626.1656570954753; Wed, 29 Jun 2022 23:35:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656570954; cv=none; d=google.com; s=arc-20160816; b=USoNrEr4SWQgHCC8LQ0U7JZmNquy6LrXMShSVavUlDZRWrogsr6sbeweREHkzlu2o+ J7zZrO236i/XMq5yypssS0kV3d0weiOcEK71QkWWpw1XoggxvT/QDqVeZ7WYazkXnzVW TF326zwwZcQpJlzSYv6seItOxBZ1mAMMbNk7Zpq6u3yojFcTUgkiLdhLa5hgIbceLkIW p0p97i9zX3w+fnO3nZb3T6WkkhzmAAMMvduyk02FKjXlX+eDKqRsRadj6hbxySMWoVoE m7ZQ12UugkqtYIlmYzx5ym+4sBV5aRFPjtmGPIjDtxmt2uAw+tyq6wwf5JswbNFkEl8L NB8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=oiwwd+g0L/iWHOiDgkKBGPOwvsMgepC57eC+QnNfApQ=; b=AqpPi1Uua2o3Crz8iLZqHTMhRkCR3yQw+T3AwwFZ6vBD9P6bx4OuBJuG4hh1DP9SDo MCMyizNBY1KL+AM9i3Oj2XErna8OTcHh6YjgI/HdgzOLncj/jssqqsAxkG84d66QzgvY y55UJo3jP+JCuJoNHub9oueu8Ys1Mz9/cY9mbBCpFv+RuCVbp5Jp/YKsk2whzxLUtKdE lKAxDZB/i7dpySyeiD/8UKfDNrMwjyyJ92dhS9ibn0eBYEFEFD8xeEUp2IyGX/QOnjXt U8LvXnMEC01mcXJ3X2za/KfGqfdfeii4k4du8D9Chq3qVERNOkrgBtccRwTV3eWnn/TZ Lobw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a05640234c800b0043575b6d886si6285865edc.454.2022.06.29.23.35.30; Wed, 29 Jun 2022 23:35:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232715AbiF3GHC (ORCPT + 99 others); Thu, 30 Jun 2022 02:07:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230146AbiF3GHB (ORCPT ); Thu, 30 Jun 2022 02:07:01 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B58FBE9C; Wed, 29 Jun 2022 23:07:00 -0700 (PDT) Received: from mail-yw1-f180.google.com ([209.85.128.180]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M9nhF-1o0zuJ380D-005t6Q; Thu, 30 Jun 2022 08:06:58 +0200 Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-2ef5380669cso168880597b3.9; Wed, 29 Jun 2022 23:06:58 -0700 (PDT) X-Gm-Message-State: AJIora8E4iPU24jKIAaCkfHY82+uODOzfo+pws1HGDvfa6ODJfOk3Dep D+nF5nHBL3yCwAuQ5mXakO5+pkzxUc4XFF6vVA0= X-Received: by 2002:a81:230c:0:b0:31b:f368:d0b0 with SMTP id j12-20020a81230c000000b0031bf368d0b0mr8380804ywj.249.1656569217193; Wed, 29 Jun 2022 23:06:57 -0700 (PDT) MIME-Version: 1.0 References: <20220630043237.2059576-1-chenhuacai@loongson.cn> <20220630043237.2059576-5-chenhuacai@loongson.cn> In-Reply-To: <20220630043237.2059576-5-chenhuacai@loongson.cn> From: Arnd Bergmann Date: Thu, 30 Jun 2022 08:06:39 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V2 4/4] LoongArch: Enable ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP To: Huacai Chen Cc: Arnd Bergmann , Huacai Chen , Thomas Bogendoerfer , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Catalin Marinas , Will Deacon , loongarch@lists.linux.dev, linux-arch , Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , Andrew Morton , Linux-MM , "open list:BROADCOM NVRAM DRIVER" , Linux Kernel Mailing List , Linux ARM , Feiyang Chen Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:EqufN3JL2pynIVinIv30vDp/9hKO6kuVwaT2r/RqjU44rejbmPr TVBI+96t/cAIQ88fsIgR52MaCIiVWNhQUtVJJh2pofinDQnr+N6asTdFS2kTqiyIsQPSr2w Y6x9267us0LNGa+gkGHN2j+FhU6c0Zn3yBmhJyA+CGAaMdxonZV54KLRL7c3ofikLkQI4l3 0yFOk2VOUgOdQFL2tXbSQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:q2wajwpiJFk=:5lYrLbbaJeLJd/nnzcawf6 /bNi8LfS9I4hY5ubK8Iw2g7Xl9BC6Kas5G8L/GwjdV1qmPbpb7VKGmFC8K7a2WUnPwTkK60ub jAbcsuCOiy8GxaNfDzYGqZOgKqpdvk78zD9DLtNMrBYSXL5heXG9vNRelFLBBOVyFqapTs9Of lR6ObsGa88h7Cf5aVH4/AShssqr64olZNQf8SaHrvy8dNZWx2eq7VeTrnJ1eLF0pvhPKaAKxP UPztPq2rMtd2ssLWw0FqckVDiCAk9NSG6cLp0fjP8y+GPA4pcahCtiWnQNyYCCrYKOjVZnsR9 fOl93O8g6YEJxFlN6UGLfg3OOhVPaVv9pCl9cA+HuCKvHbM10ejNkUxk7KOPfcu98jzZXafif 5ff+SvzbtPVNJZ0vY6bam9JtR0JmqlPiY4S/m/4TG/0ftuxYVUKT5sm1dbIYdJDbUkuShbF5+ WIG5t/HYL4kzgThjdZ1rYvpYYhMN2xmTIOXyg9ZGk9qxh0RXSKFKPZsX30L78bfjsb1Pt2fS4 51YsjagDMHNZ8HMvEvc2f8+7pPJCU5TYbE+DxVeAVQirGapv7Z74pOr4+iBzKgEeBPC46/Fw1 rJZyQZBl9CrTtacYUZd++PPGqVl92PWc+wrhN+zCYTmvqOCDGseJjYxYN4LuD4eEdCcAolvRC /bwgxcuAImtGcBhgMnJ+0L466948XSmZ9fJmNBHkV6vtS2aPvvnyqSPW36xvc9KiZ5wGE8XQ5 0+c2GR/lMbLsXgWw1IFAHKgqzynm1LZfQI+TC3Ef6g/WJSSUTXsucvxzXa+aWRv7aCeAb4nKi Ajjyl4SKrOKR/uVshVRddv+9fGuTpj/s2cJTboMeEGhv6mGGOvBBH5C9qwX7kYYm0r0vD/ib9 JadLleHU8SGAVunx7Q8vmZ4Ls+61x5+vm88EpbwbQ= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 Thu, Jun 30, 2022 at 6:32 AM Huacai Chen wrote: > > To avoid build error on LoongArch we should include linux/static_key.h > in page-flags.h. This is an expensive change in terms of compile speed, as static_key.h has lots of dependencies, and page-flags.h is included in a lot of places. What it is actually needed for? Arnd