Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1305279imk; Sun, 3 Jul 2022 23:41:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1torKjisw25TZ4jNIMtoRb9bvNQg5ZwX2ZSMN66XPxuYLfBBuuHkgTycWerrhBsuLuhtnBI X-Received: by 2002:a17:907:2bd2:b0:726:3100:7997 with SMTP id gv18-20020a1709072bd200b0072631007997mr26711818ejc.341.1656916916208; Sun, 03 Jul 2022 23:41:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656916916; cv=none; d=google.com; s=arc-20160816; b=fRin8Diqbgq4tHquWRuHpKc3UrLORBjjgmct1mxS3xD08jcnm3MEwygZI/impoVTLa FizDhwKHWdfW/P+NnHkHJhDFAKKtNy+5YHoBK4Mph+l0XY2sci+ibT2xOxQx8JiSbpJs l1LabKcOzwug6LYMgTgf344TpiUMDheArHj3RqeEEdD+bNhn3uU8f9HQPnonLzmirEIx dPzSLCdHzN4NYU7zFELmSMJtVta1GM5rnuDJTyNoe21fGdf2CdiiLhHDgCFvwy8I0JBt +jOd+1cUhxNK7E3O19or9HXy6vaqHLnXoGEbvLEUPFocAer8pRz+XClpGQPUJR5Bs7tT 5lGw== 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=335UmeiO3X++BAhxT/4mcoK2xCDfMBXoqqFOFNSolWo=; b=tiYndts09nwT5orDT3r2uz5Q3Uc1O2LgHMhuCwnMtLhetEQ7kNqoS6we1fy7mhPd7j sFhD/6FR3aj3sr62T/cqfuUa0rufXN3GgBpZPSD4ywj3uSGQm9fAC3PbxP97fw4ks4Ml 48MbB61OjUP6QOlkHTN8f3e+WJu11pDEthVt2+C7aN8xCX6F6r5Yd/p9ZVS0FpkPvIwl sDTW+dbVBSHQDtsTVQGJAFmEOxukWt2P5HFfUjJkUJhXTzkhdyk8Kdf6DsqA01YWrF6o bsb/LKJfviQYva20GxvmhQ3sZKLIBwpbgwugATuTveJ9v9QQE69afDYFktin+bivqwT4 gXeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PFJVmhiY; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht11-20020a170907608b00b0072a87f63748si13748420ejc.908.2022.07.03.23.41.30; Sun, 03 Jul 2022 23:41: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=@kernel.org header.s=k20201202 header.b=PFJVmhiY; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230096AbiGDGhh (ORCPT + 99 others); Mon, 4 Jul 2022 02:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230123AbiGDGhg (ORCPT ); Mon, 4 Jul 2022 02:37:36 -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 AE0162AC4; Sun, 3 Jul 2022 23:37:35 -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 3F69861351; Mon, 4 Jul 2022 06:37:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9052CC3411E; Mon, 4 Jul 2022 06:37:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656916654; bh=Ev99x2/dGK/AfHwjAp99Abizv7vniBu6IQA5CawQMQE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PFJVmhiYn6Ic6FTheiyt1yAOHTodfrybFiqBvVQ/qjJyqvMcrf1iEMEQ/sockNodS ONjRsGxOWH8Cfs69RjqlQ6woEHTlfn5jDBz8nPLFjT72zKvzgWfCgsTNTPCO4TvPkj uwLufFvGkCfNTFWsGIoYzNf29FFaGS0USFD+b4wjw7PxPT6FVuf/T0z4or7bBn/A2i NLtBgjQ1GgdHb5h/x2cfDvUqGj0IWK9OcUpaBWJIWtp5mJNteU1glbswFU1WdZNqOb JmmU/VcV1X3eYwOhhr4yzKOS0q9pNiC0cCirbCUjL6QELQ10pfnXNAwNGPmOVMkb4+ HTG0pR49rjXDg== Date: Mon, 4 Jul 2022 09:37:17 +0300 From: Mike Rapoport To: WANG Xuerui Cc: Matthew Wilcox , Andrew Morton , Arnd Bergmann , Dinh Nguyen , Guo Ren , Helge Deller , Huacai Chen , "James E.J. Bottomley" , Max Filippov , Mike Rapoport , Thomas Bogendoerfer , linux-arch@vger.kernel.org, linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-parisc@vger.kernel.org, linux-xtensa@linux-xtensa.org, loongarch@lists.linux.dev Subject: Re: [PATCH 12/14] loongarch: drop definition of PGD_ORDER Message-ID: References: <20220703141203.147893-1-rppt@kernel.org> <20220703141203.147893-13-rppt@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.8 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 Mon, Jul 04, 2022 at 11:57:28AM +0800, WANG Xuerui wrote: > > On 2022/7/4 04:50, Matthew Wilcox wrote: > > On Sun, Jul 03, 2022 at 05:12:01PM +0300, Mike Rapoport wrote: > > > +++ b/arch/loongarch/kernel/asm-offsets.c > > > @@ -190,7 +190,6 @@ void output_mm_defines(void) > > > #endif > > > DEFINE(_PTE_T_LOG2, PTE_T_LOG2); > > > BLANK(); > > > - DEFINE(_PGD_ORDER, PGD_ORDER); > > > BLANK(); > > > DEFINE(_PMD_SHIFT, PMD_SHIFT); > > > DEFINE(_PGDIR_SHIFT, PGDIR_SHIFT); > > Should probably also drop one of these BLANK() lines too? > > > Agreed; IMO the blank lines can and should be removed because the > surrounding lines are also mm definitions. They are mm definitions, but still they are separated by blanks to have nice grouping in the generated asm-offsets.h. I suspect that there are more unused definitions in asm-offsets.c, worth taking a look. -- Sincerely yours, Mike.