Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp783023imb; Fri, 1 Mar 2019 13:58:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxQZQsqDWH1vZUfLPlErFxrykQsZXKMBU/CkUu403SePyItr3goz3nEhZ+5K3indoRdT80v X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr7786511plb.169.1551477510898; Fri, 01 Mar 2019 13:58:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551477510; cv=none; d=google.com; s=arc-20160816; b=xrE2m/9GmK4QV0Z22MCejRIJGxdd7SXp1vjC/t55qA0eDtwNNcYTSomjaNw4G3JMtn o0BzM6pv2k46RA7zWbkmI9QS/1TkzlgbhHMaqu2yog8TCC3snulyoFcbDexnLduYxvBi EYS+XZtPDF9mYzprP/UPaCaPUARKJ//cQwO6Ew7souz8Bw2fSfvl4cGo2HUuBOgX86eJ EiMAVVXrsQEEluYR6h4EnBpm0GBu5iBGfSzX6Nen10Oz2FQuF+Tod8h4KV55CBEQFwvu xhKiBFFNkjmL6E3xwWy5kjD/TT5xuLeivKSsYZPVwJJu6tpywJAOw4PdAvntNoqvLcqC xJzQ== 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:dkim-signature; bh=Jx3z/ytyz5m19uf5/3OhEnIdJ4HeALh1pApg6ERgUjQ=; b=IwkZWNaITs+oi6zaJtyENoB8urro6NKlip0e8bMDXF7GMoMpA1X67L+w7Mz/v+NJc5 MTDj4cf4KUxYKAfVEfeeMeiAPBUr+3YChN+mGY5ys4ukjsIVTvUK07ezl1pVF7VuOFlR gZ2s94LZWjlibdwH8QsPSIdB8Xw/N8gtOoeo9/nc8qd50bYU1yFAmvA7LBnvHCHXKVOZ 9IjjUDflnLp2eUAfPgfjaISDWFGTcRjvDVTtA8jiat0REx9ji4AKroW2CWaEKwRBDlLA cx3xCLGNM6m++CfHj5BhqdadyXwY4m0GNKHXrfYwXoUvLjLaYF6xoc31z5fTpGmcfg0p gUrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=VWCIfWP2; 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 ce8si23810146plb.395.2019.03.01.13.58.15; Fri, 01 Mar 2019 13:58:30 -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; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=VWCIfWP2; 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 S1727008AbfCAV5e (ORCPT + 99 others); Fri, 1 Mar 2019 16:57:34 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:33011 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbfCAV5d (ORCPT ); Fri, 1 Mar 2019 16:57:33 -0500 Received: by mail-pl1-f194.google.com with SMTP id y10so12124881plp.0 for ; Fri, 01 Mar 2019 13:57:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Jx3z/ytyz5m19uf5/3OhEnIdJ4HeALh1pApg6ERgUjQ=; b=VWCIfWP27qc4osBHSUj5kLtCbj1ntVG+T4U8cTziGn3o5lyIecEuKchHhsbnqL+CwA 13YMR2ZMV7TGE1fULeo/DFlO8tnOmgddd8Pf9Ah2yxBmTgTuxFIuJfYCzPIJHD2cXTnO Qqak5FoFfvofzU+xzZijTG3UsxrKz5JVFvIgBNUqxH2Pj1LvDc/JGatqsqlqIk/aCh1M MoFY+8OhY3uy8AhjCMqOxtlMiN0zGyZDV6+oOJVShbNAs7Oy2DEe3uUvT7ck+CK5Su7b 68NTf+tY2uHldMNd5Gtkp7V5WTaz0lxFiMGKLvUyWIS/BHQU3bC/H4sIF36rozN6FoGJ mJOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Jx3z/ytyz5m19uf5/3OhEnIdJ4HeALh1pApg6ERgUjQ=; b=UU73D241tTziAGUur+EVET2I758PhDGI49qzxcpeKdQaSJeYXL2ziIuRQP/2q8Skn3 vUFyFOMMHoYX+UbqsO+ikoGj2ubPQTY/pSyJ2Kv1wW4DUgR4bUfm0KDZgOVc+LXWrn/O 98sns9XNXTeNm3H1sVEpdRR7PMRB2FcftD/NoIM/XSZTaRa9Fe3MsJiGEdVP7TXnzzH+ XtYNY+NyxA2IpXpnKAMCPKS9vD8LrkEqF7xkuPcyTjg8Y/gL8fGvPYVepwgv5iGOof+Y eYENKvLfmo56DMsuUYG+PtszwKUqbezEv2T+OTqn9qXDfeQRakgGopn4Ee+nzQmJh/hA ZYrA== X-Gm-Message-State: APjAAAVXaGY+DFIJL1xNN5xgwm/Tbz/I3ecFWkx4Pdd9iQOcgBJlCp88 OvnDLRwz3gQCI9kk/7k32mr5pQ== X-Received: by 2002:a17:902:12e:: with SMTP id 43mr7841762plb.31.1551477452908; Fri, 01 Mar 2019 13:57:32 -0800 (PST) Received: from kshutemo-mobl1.localdomain ([134.134.139.82]) by smtp.gmail.com with ESMTPSA id u14sm23818699pfm.66.2019.03.01.13.57.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 13:57:32 -0800 (PST) Received: by kshutemo-mobl1.localdomain (Postfix, from userid 1000) id ADD193007CA; Sat, 2 Mar 2019 00:57:28 +0300 (+03) Date: Sat, 2 Mar 2019 00:57:28 +0300 From: "Kirill A. Shutemov" To: Steven Price Cc: 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, Mark Rutland , "Liang, Kan" , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org Subject: Re: [PATCH v3 08/34] ia64: mm: Add p?d_large() definitions Message-ID: <20190301215728.nk7466zohdlgelcb@kshutemo-mobl1> References: <20190227170608.27963-1-steven.price@arm.com> <20190227170608.27963-9-steven.price@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190227170608.27963-9-steven.price@arm.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 27, 2019 at 05:05:42PM +0000, Steven Price wrote: > 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 ia64 leaf entries are always at the lowest level, so implement > stubs returning 0. Are you sure about this? I see pte_mkhuge defined for ia64 and Kconfig contains hugetlb references. -- Kirill A. Shutemov