Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5239917ybp; Mon, 14 Oct 2019 18:17:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxV3QBdAA1A9JNoRBvQAl7zZdapvHapTAWyA/lvi7fgRmHM2QFmHLbuyEsQ4OgNy90zzeDR X-Received: by 2002:a17:906:8315:: with SMTP id j21mr32188848ejx.244.1571102236308; Mon, 14 Oct 2019 18:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571102236; cv=none; d=google.com; s=arc-20160816; b=HVC0TQRg84hvSZDxcspZUhZeLXaqkQH0CKe8qFKjBClaKDELQkcCpINOa5xa6c9rze 4N3ahmrz7cnNCsE7n7qcTNNgqJxa4BdgkvviiqmSgB9MjsZAglsYT2suXKdC5JWZJFXz I4vt2GBf+Vx/9DuBSs6HOtHNoN6ynyIAi+8ecCMVzoo9ND6k2GlpMSpx1iN8d9WEQYyt BCaQ6rc5A58P1AJE0JM0T5z+llSNcnzG5Eebv1wcQgi0bhmvpNt3L+DL0i+BQ1mq9tCE A/QUq01cmoQgFG7iy1+UFczGIk9vSdiUe+BIalM1tQO9aAOH00rLKPPZp20WXWg+e267 9Zfw== 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=r8+y9y2pf6LTBiDmD8ROJU1496EBIFF0Ze6tIupxL2U=; b=DAX5z07z4sRi3UDXrQojWwLm69LeMUN5hLJoD5prz2KV/NKe4BzQP/i8YUue3pTkLX 1eYTmfIRLDnKr0ji9PwWLg+c1+iXw8wSFEehc4Eo8+0NA+yeMwqGMaDjMW+QbU9ou2g7 ktyaq8rDfpdFbr8c1P4YeUkHS912D3PX1vzBRz8LyfwvF9+/+NVn7tc4vLuTh9cMQK/W oxXRSGnJ8yA11iO8BlwOT63qcX2RGa/QWk9n7csQkTpEQoBeLF6m8RwB+sm3eu+uhiyi X+JJY8eeiLsbDUb4aHfLg4b2BBNEo66hPRWHz3P6Ok1L4KH9f/HxqPGaShP++IUwC5oj YsIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=K9uVe0jE; 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 d19si11933294ejr.163.2019.10.14.18.16.52; Mon, 14 Oct 2019 18:17:15 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=K9uVe0jE; 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 S1730719AbfJNVsH (ORCPT + 99 others); Mon, 14 Oct 2019 17:48:07 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:48190 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730586AbfJNVsG (ORCPT ); Mon, 14 Oct 2019 17:48:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=r8+y9y2pf6LTBiDmD8ROJU1496EBIFF0Ze6tIupxL2U=; b=K9uVe0jEoGlpWh2+YYpxbI82j 94gnr5sqHxIwpTw7qYu9rgfRaZl4hH99mdv01m0cP3vrveXCqWMbu3ZOxIuicu0opBhchEnfJ754+ tqq82Ow5YhOUV3NxjE1w6it9c9Krox4SATn0EGSDqWlB070ssRUW72rEoyS5vPMhkhK6bO9r39fUQ FyJOYdNh26zruSPPtzvxp98VsxBG+n53UoAE2i2rLN7R9BE4HdAvOOwK5krbXZwIc2olcX2J0hg/F UzZcIMDRc+R+PXNRxkRmwOsdkhXd35e8h+NXhKfbEA3rXf4TKvIAuoMdw4ANTP2TMXgFDJdI4WTJq YnL7y66EQ==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1iK8CA-0001s1-5B; Mon, 14 Oct 2019 21:48:02 +0000 Date: Mon, 14 Oct 2019 14:48:02 -0700 From: Matthew Wilcox To: Linus Torvalds Cc: Vineet Gupta , linux-arch , Arnd Bergmann , Peter Zijlstra , "Aneesh Kumar K . V" , Linux Kernel Mailing List , Nick Piggin , Linux-MM , Andrew Morton , linux-snps-arc@lists.infradead.org, Will Deacon , "Kirill A . Shutemov" Subject: Re: [RFC] asm-generic/tlb: stub out pmd_free_tlb() if __PAGETABLE_PMD_FOLDED Message-ID: <20191014214802.GA32665@bombadil.infradead.org> References: <20191011121951.nxna6hruuskvdxod@box> <20191011223818.7238-1-vgupta@synopsys.com> <8bfd023b-5c00-8355-fd0f-3b4377951e6c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 14, 2019 at 01:38:34PM -0700, Linus Torvalds wrote: > And now I've said pgd/pud/p4d/pmd so many times that I've confused > myself and think I'm wrong again, and I think that historically - > originally - we always had a pgd, and then the pmd didn't exist > because it was folded into it. That makes sense from a x86 naming > standpoint. Then x86 _did_ get a pmd, and then we added more levels in > between, and other architectures did things differently. Oh my goodness. Thank you for writing all this out and finally getting to this point. I was reading the whole thing thinking "This is different from what I remember" and then you got here. This explains so much about how our MM does/doesn't work, and it's not just me that's confused ;-)