Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4427520imb; Wed, 6 Mar 2019 13:10:21 -0800 (PST) X-Google-Smtp-Source: APXvYqyomFtFxSg35UThdYnJGt3WhVrJEufHa4B9e5rhhEzx/Ful+PLChGNoyVIjJL1reC70+6A7 X-Received: by 2002:a17:902:8ecb:: with SMTP id x11mr8864364plo.40.1551906621838; Wed, 06 Mar 2019 13:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551906621; cv=none; d=google.com; s=arc-20160816; b=gYDP67/wDrm73dkp6W/mEfWeA9yn9cNSyDHgWrglzwF++ndrJcWehJLfbmYLpAKETV ELuS447aaNaw9oicUwfgqRqx71DslGAbCS+oZk/XiLKaWjZdMzqtm197I7FsG+C2uNun dCNOrf/N4m0SY/Dj+XAep6uVUX2AFvL57+9gpIPwAX6sYFC/b+zVk9gCje1hVp5yPz0e yYrm8MDx234B15kkQEPW118URAihLMBkh/rJxTs7re/oyE7hPA6gK3T5lAYpAYRaE7R+ zE1dw1qPSdED74B4irNikWYz6kkw0fq48odqc3Snll3mJmn8qU5jhB9mUR2CIEEazaz9 IhIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=xlXhxq5QjLuwSydDOTnCxUICWg03oZk9wuOr4Glednw=; b=F6hyL4ffaETVtEB2uHyHG9yVWS9NN1GZciook9CTCYFBH9T2+oumZEokWNugnSvAMQ +uHMdWnglWudTN1nKVEQSQFsHXBpw6+r9Fw+KTS6i1zENt3FBHIkvSxVjsHpPU5MuZI6 JejiwnVtDs/zz2/FhJ/q4v34kf2xPvENkMetj2bDvd73j6am/aJ0tw5W6VuX2oNbDOCd eQbcoqFKmTk9jcVC1qToTGuLYcpQTIpqZuP/iqJnOTqF6+qB7rk9kmFl3hjqYd3/g8V0 hNQ9CRXpa2kMA2wEPfGg7GdGA+xJMXeNtlIyevkWoLjyBGAfiknzB3rifSGxNKFxV4i6 QIQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si2198480pgp.513.2019.03.06.13.10.03; Wed, 06 Mar 2019 13:10:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730356AbfCFTC0 (ORCPT + 99 others); Wed, 6 Mar 2019 14:02:26 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:39344 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730344AbfCFTCZ (ORCPT ); Wed, 6 Mar 2019 14:02:25 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 610A7105D26D5; Wed, 6 Mar 2019 11:02:24 -0800 (PST) Date: Wed, 06 Mar 2019 11:02:23 -0800 (PST) Message-Id: <20190306.110223.879768694292631517.davem@davemloft.net> To: steven.price@arm.com Cc: linux-mm@kvack.org, luto@kernel.org, ard.biesheuvel@linaro.org, arnd@arndb.de, bp@alien8.de, catalin.marinas@arm.com, dave.hansen@linux.intel.com, mingo@redhat.com, james.morse@arm.com, jglisse@redhat.com, peterz@infradead.org, tglx@linutronix.de, will.deacon@arm.com, x86@kernel.org, hpa@zytor.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark.Rutland@arm.com, kan.liang@linux.intel.com, sparclinux@vger.kernel.org Subject: Re: [PATCH v4 07/19] sparc: mm: Add p?d_large() definitions From: David Miller In-Reply-To: <20190306155031.4291-8-steven.price@arm.com> References: <20190306155031.4291-1-steven.price@arm.com> <20190306155031.4291-8-steven.price@arm.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 06 Mar 2019 11:02:25 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Steven Price Date: Wed, 6 Mar 2019 15:50:19 +0000 > walk_page_range() is going to be allowed to walk page tables other than > those of user space. For this it needs to know when it has reached a > 'leaf' entry in the page tables. This information is provided by the > p?d_large() functions/macros. > > For sparc 64 bit, pmd_large() and pud_large() are already provided, so > add #defines to prevent the generic versions (added in a later patch) > from being used. > > CC: "David S. Miller" > CC: sparclinux@vger.kernel.org > Signed-off-by: Steven Price Acked-by: David S. Miller