Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3856106iob; Tue, 17 May 2022 08:33:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjmNzTkCC19UKdkOnOqBOhlcAsYLhBMhh/b05p1L+CnE8ZvPLfnYcho2FEoJegc85V3cqU X-Received: by 2002:a17:90b:4c48:b0:1dc:a631:e353 with SMTP id np8-20020a17090b4c4800b001dca631e353mr25295578pjb.218.1652801588606; Tue, 17 May 2022 08:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652801588; cv=none; d=google.com; s=arc-20160816; b=rC3MttN5PupEqDyjmQqk0Ecm+gpEZeOzvSOWoqfBPRQwAQTlyzvTg38g8V2MQl7afv a4J+7u+X15WIpWnU/tuAJwRggNmguL+ZXrbyN9y9EmPMRL+qJDXfIpBrFZ9kPwgPEldY jp8uNnzukl9WHJ72wGAh1OAFF2SYlQ6tfx7gb7rJ0KRqICL6ccUClR5Q+CvEiRkebgyI xpe4dUrmiizITP5b7v6FBeuA4fGsVd8tUhDrAQvcBlyjIVfrvOAwvnNTtC6uRUMtshBG SfhnestOGfrHolxJ8z1EdXyHZMiNJqtDz7xLVuqtP5RTRzgZk+72h/8haCeMyapvpntA 0YQQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id; bh=P9IKe6eoTShBDCcI5ejbsPgwMK0sJhD58vW5ghJyZnA=; b=qc5FgOS+nLoQWbgczu3GLIk+6woOC4mi3yJ3lCDMLVfum0Cuu/cqtkXho1Jyhq7KUC ljXFiQk1ZqzLyGaMILQTMN95VXxztOoiYPibc2Yt0Gy4Y1g+34xBUaomZaE5EUPHiX42 mutB0YRR1EXFSCPlysdOIwtCfY1N3RV5rPjEJBEf4XHMsWnK7csHNHJPsoTCIVo9a+e5 U33koS4Rw90HOdbSzGxAYIQJLgcUF4E4gPs02EuIfaQLOdBo7wAzUnx25nzQQRtNTZE6 f93OzUGxbxaalNA9P9E5LNg1quxD3RrIwyu0AabX4cAWsHomxnJk9XKH17tT83tjgxAy mJWw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n24-20020a63e058000000b003c6c145ef3esi17201607pgj.84.2022.05.17.08.32.56; Tue, 17 May 2022 08:33:08 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235373AbiEQE4t (ORCPT + 99 others); Tue, 17 May 2022 00:56:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233459AbiEQE4q (ORCPT ); Tue, 17 May 2022 00:56:46 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 00EC4344ED for ; Mon, 16 May 2022 21:56:44 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4FC0BED1; Mon, 16 May 2022 21:56:44 -0700 (PDT) Received: from [10.162.43.9] (unknown [10.162.43.9]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 45C033F718; Mon, 16 May 2022 21:56:40 -0700 (PDT) Message-ID: Date: Tue, 17 May 2022 10:26:37 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] x86: removed P*D_PAGE_MASK and P*D_PAGE_SIZE Content-Language: en-US To: Pasha Tatashin , linux-kernel@vger.kernel.org, linux-mm@kvack.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, luto@kernel.org, peterz@infradead.org, logang@deltatee.com References: <20220516185202.604654-1-tatashin@google.com> From: Anshuman Khandual In-Reply-To: <20220516185202.604654-1-tatashin@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 5/17/22 00:22, Pasha Tatashin wrote: > From: Pasha Tatashin > > Other architectures and the common mm/ use P*D_MASK, and P*D_SIZE. > Remove the duplicated P*D_PAGE_MASK and P*D_PAGE_SIZE which are only > used in x86/*. > > Signed-off-by: Pasha Tatashin > --- > > Applies against next-20220516 that contains: > mm: page_table_check: using PxD_SIZE instead of PxD_PAGE_SIZ Right, had discussed about this earlier during the page table check series. Does make sense to use standard PMD_SIZE/PUD_SIZE like other platforms and also the generic MM. FWIW Reviewed-by: Anshuman Khandual