Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3454952ybi; Mon, 29 Jul 2019 06:54:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpTuCOdsSq73sXMnY11JpeNqFmCDd9mmwQulqjORkZnZfFc3k/rUqlnut7C38tZpirUmUS X-Received: by 2002:a63:c748:: with SMTP id v8mr73277768pgg.418.1564408444187; Mon, 29 Jul 2019 06:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564408444; cv=none; d=google.com; s=arc-20160816; b=PB8WXM0rTZa+VTZJeOdWnZ4FcoTK8SfX5/GYQ0I8qVE2YT8XCLLF60MD6idCpiCk7L vg7P8kx9sht9nVwR5BsE5HRO42gLc4smZuI6gUm56dUybclqW5D0OQ/phLVBSWVjHOzS 9jr+YJGsjYBuEeoxFkhcRRNpXOpuQ1ruov7rPQJsfCj8cUa7Hguh9F+SadtXB9uzTI+c n9fJEAVAcgzsaqAVrIUBNM38bPvTD1WbbHMIzocvi1dSpqqcEJNw8XqY3qT96IonGn3N BkQlFHDwtp6fnZOmRmbAW2R8upd8HAV1YPZFw+cVoroJf/So+E9WCLIf+aQiPl1OJ6ta lqnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qbQQU53UglvrrbWSy5+lYBnTBvKWtMJX3xJYOO4TtfU=; b=Nd9SOnpiA1s4KKx/kYYLPpENXsV+ePzeOCtRXg5KrhLEgEq8+SAywRTGOvodivnF3W /EplGLJXKCzZHcwYCDSwCsw7/J/at8ncuLupJ6UdJvg2uUL73bfR176FgoS3qI3Syspd 0lm1tk/7pFhGkcasq/orXEKgfbnahOYH6CXQvjacyEIgAbjFkdnvVBIRg7INsv+PElTO DEZo83c60ezrRJQurNSdlv2aVJTa+ypM/6nLnPpz/QI++I7uRra5MoAt9Ojx8BZ2W25e mTpW9RbQ9KdCpBn5HK4Vx+0jZoK0inLoZjI9Bbyprc/cIo4Be5HcGadiMp8aoysRrGPF JPSA== 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 k22si27889034pfi.289.2019.07.29.06.53.48; Mon, 29 Jul 2019 06:54:04 -0700 (PDT) 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 S1728409AbfG2MuW (ORCPT + 99 others); Mon, 29 Jul 2019 08:50:22 -0400 Received: from foss.arm.com ([217.140.110.172]:43638 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726805AbfG2MuW (ORCPT ); Mon, 29 Jul 2019 08:50:22 -0400 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 C5EA528; Mon, 29 Jul 2019 05:50:21 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3C2A43F71F; Mon, 29 Jul 2019 05:50:19 -0700 (PDT) Date: Mon, 29 Jul 2019 13:50:13 +0100 From: Mark Rutland To: Anshuman Khandual Cc: Steven Price , linux-mm@kvack.org, Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Dave Hansen , Ingo Molnar , James Morse , =?utf-8?B?SsOpcsO0bWU=?= Glisse , Peter Zijlstra , Thomas Gleixner , Will Deacon , x86@kernel.org, "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Liang, Kan" , Andrew Morton Subject: Re: [PATCH v9 10/21] mm: Add generic p?d_leaf() macros Message-ID: <20190729125013.GA33794@lakrids.cambridge.arm.com> References: <20190722154210.42799-1-steven.price@arm.com> <20190722154210.42799-11-steven.price@arm.com> <20190723094113.GA8085@lakrids.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 28, 2019 at 05:14:31PM +0530, Anshuman Khandual wrote: > On 07/23/2019 03:11 PM, Mark Rutland wrote: > > It might also be worth pointing out the reasons for this naming, e.g. > > p?d_large() aren't currently generic, and this name minimizes potential > > confusion between p?d_{large,huge}(). > > Agreed. But these fallback also need to first check non-availability of large > pages. We're deliberately not making the p?d_large() helpers generic, so this shouldn't fall back on those. It's up to the architecture to implement these correctly, and the architecture-specific implementations will be added in subsequent patches. Thanks, Mark.