Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1222021imk; Sun, 3 Jul 2022 21:07:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tG1oevT4yiY/i7N2HHfLU67RttoOaCjnT1yqKKvJLXv0lW/q3HfdxNdL/1kPyFfItV3d9Z X-Received: by 2002:a17:90a:6043:b0:1ec:c929:d16d with SMTP id h3-20020a17090a604300b001ecc929d16dmr35070193pjm.7.1656907657945; Sun, 03 Jul 2022 21:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656907657; cv=none; d=google.com; s=arc-20160816; b=NfknmYJHrHnYD6oLPeFRPE+kcBEyhQ4Js2gtmgiExSjSlC8v8DSyIF9I66TlYu2/KU 9h5HcDUwCAqEUFmpQv+zLqZ/kyToQLQJgVcqb2FQhOlwAlEKrF6ZrlXn8z65eGPuKPL3 UqoB0mokqjOh+4Fbu6N3k1MqWSYkIhHLwFWzqK6g6D+b7DlgVJU3NF/+sQak4sr/sJg9 aJ9svCv+nvL1+0ci+0E7EU/BAJXuPQ2wBNRBtiknH6WsUEaZN3mi1UkQ9lqDi4lbb97T tA6P/usaovAnd9SaC5bVCDABaeR/i+9DdoUBsl2eLXxV5JSTnNqPaihGRW6BimnmkIMq wuQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=F4dCiqg55zaaC34O6/lNmcOoSsMHk/uXLJQoiiHccsA=; b=OlSZEawwccAzqECnWvXVszN3OWgjBvrKW6CDQA+BvXQoMA5Ns+SYknMqtNeAT9c3DW YtjHbuxXQpO92uYNU6hxPLpfO+gHppDMf/wlfWGUlZD4yWDEe9sR4mZqqDjDt/40Wudp uFicTe2i+Y7zWxuPFOjvMdt17yxt8g3YhXX2SSnN0sG29cVfNMPCMmFmelAOAKvCSUUE 14j9yZazK2Ixt1eQE4q9nTaubCrwbLeLLbqXzg7jL4d7DlscMDpcK/I+3UCAGPHHDqBg uBOFtom7/OSAIVFL8uJ/wNCfR0UtQsaUnzBLnnrhVdOppZQ5TSJfsSpNlcevcu8maJk2 jIbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=wWuMthuc; 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 rj12-20020a17090b3e8c00b001eccb062fc1si20063942pjb.91.2022.07.03.21.07.18; Sun, 03 Jul 2022 21:07:37 -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=@xen0n.name header.s=mail header.b=wWuMthuc; 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 S231429AbiGDD5g (ORCPT + 99 others); Sun, 3 Jul 2022 23:57:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230122AbiGDD5e (ORCPT ); Sun, 3 Jul 2022 23:57:34 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08FD01A4; Sun, 3 Jul 2022 20:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1656907050; bh=nEFAaimDHQ9+9OzaA/ZB4ZaY0ZaBzpTQo6pKly4wWzE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=wWuMthucJbzktwB/xbORvGK5uNDweBclk0LJ/uzlpsQK+o4fTm4aPZIJnR97asuj4 se5k8kontPi/E0XftB0voNn3GTQzXY3ltXkJ/jG6SnX7/pCZdcQPZQudGzRHp0TKsU VuBFExTLic5XZTBaNkmMj2c6SHB23jyZof9/3I0I= Received: from [100.100.57.190] (unknown [220.248.53.61]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id 32DAA60091; Mon, 4 Jul 2022 11:57:29 +0800 (CST) Message-ID: Date: Mon, 4 Jul 2022 11:57:28 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Thunderbird/104.0a1 Subject: Re: [PATCH 12/14] loongarch: drop definition of PGD_ORDER Content-Language: en-US To: Matthew Wilcox , Mike Rapoport Cc: Andrew Morton , Arnd Bergmann , Dinh Nguyen , Guo Ren , Helge Deller , Huacai Chen , "James E.J. Bottomley" , Max Filippov , Mike Rapoport , Thomas Bogendoerfer , WANG Xuerui , 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 References: <20220703141203.147893-1-rppt@kernel.org> <20220703141203.147893-13-rppt@kernel.org> From: WANG Xuerui In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 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.