Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4435238ybv; Sun, 16 Feb 2020 22:25:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzhPOnPrQdNY9k53Px+8Nosqpu/IZeUuW9/AiPRjHga0/3eXzTKS7FFO0SFwHVL6phR3dd+ X-Received: by 2002:aca:b703:: with SMTP id h3mr7337827oif.148.1581920713948; Sun, 16 Feb 2020 22:25:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581920713; cv=none; d=google.com; s=arc-20160816; b=b+JWLRsr6GamVZrXL/2zH7YiG/3ONQetRe6Nvuktf8N4kleSn2Nr8AMDA5HlKf/gYz iQ0+fLFcAHW7s9zhHXgAfYq2eFXKyOtSdkPX+sEMvrCkJg4RJsXzbRni99obfvWraN4L dgaQW7blG/AiCO2HNYQoQRN7+ZhTKy2dYsa6Kk/OAr2J4Kjaz2xyWfLnG7YzPKczfDG5 sUtkHQbWsroSvR6PTjvD/vk+sS5jV2V+MBG28Wr8KWlBmI/M+CoRYIgvpg2+A9nmQlxJ 61FfKk9lb7wXi4f1o/S9U0zYGZ23W97Is27JXIgWXgvtrgcagXe6fMwHABS82L+g6as1 U4yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cBpJ33/2U0olEE1nZC1KeRL7JrHAswRrrEqG4BnjNqs=; b=p32dWB8tQKceqsL9giscGLnZ+PTY8/HRBLZ4DMBf5Xe78xGP3JqudFp412p5GEbQBT rzx8YLYaYA9YzUw9EHAiSTIX4AoB5ip9b+9SSAXz+dynieHbWo5D5/wv2po2KLhFmAND jDtG1vi97wWC9Xud2A3o0yu5V1xYkeiLQ3nfewoE/4yO2HXMZ6tVqzsMQNyxiDxEsFrZ QQb28MLoee10EjLFMTB6xRSoCL03UcF9jLT4Sw0wn4Jvdaq+LNzWFcXAbDv3dWL+0msC zrzhoKK0SYptpYANvnqJHk6P0nrGhxXJluGhjYeOgAEcPUEUNVFGhTZfodRTiT/XDlNL gNnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mJdZTvPN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6si6470037otn.172.2020.02.16.22.25.01; Sun, 16 Feb 2020 22:25:13 -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=@kernel.org header.s=default header.b=mJdZTvPN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726401AbgBQGYA (ORCPT + 99 others); Mon, 17 Feb 2020 01:24:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:36308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbgBQGX7 (ORCPT ); Mon, 17 Feb 2020 01:23:59 -0500 Received: from hump (unknown [87.71.56.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6A24120718; Mon, 17 Feb 2020 06:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581920638; bh=/x16WuB9ipweEdbRODxI3vPb27s/qMR9LxZj9eSXNFE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mJdZTvPNP7YeXjSuzPzV/mVObPxfKwGHjQ8p+ZHMpTmRtHHC4KJ+V+9rVhTjyc//R yxkqqla61U/GzHYInQ60SIgL3AIru2SOxlhJ63F/uuX7uFtPbBAVrgP2PtOiwMtu2+ 8lDq6YKKg11ilpAZTu8jTZrVhQnL/nAs55Me23Y8= Date: Mon, 17 Feb 2020 08:23:44 +0200 From: Mike Rapoport To: Russell King - ARM Linux admin Cc: linux-kernel@vger.kernel.org, Andrew Morton , Arnd Bergmann , Benjamin Herrenschmidt , Brian Cain , Catalin Marinas , Christophe Leroy , Fenghua Yu , Geert Uytterhoeven , Guan Xuetao , James Morse , Jonas Bonn , Julien Thierry , Ley Foon Tan , Marc Zyngier , Michael Ellerman , Paul Mackerras , Rich Felker , Stafford Horne , Stefan Kristiansson , Suzuki K Poulose , Tony Luck , Will Deacon , Yoshinori Sato , kvmarm@lists.cs.columbia.edu, kvm-ppc@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, uclinux-h8-devel@lists.sourceforge.jp, Mike Rapoport Subject: Re: [PATCH v2 00/13] mm: remove __ARCH_HAS_5LEVEL_HACK Message-ID: <20200217062344.GA4729@hump> References: <20200216081843.28670-1-rppt@kernel.org> <20200216082230.GV25745@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200216082230.GV25745@shell.armlinux.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 16, 2020 at 08:22:30AM +0000, Russell King - ARM Linux admin wrote: > On Sun, Feb 16, 2020 at 10:18:30AM +0200, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Hi, > > > > These patches convert several architectures to use page table folding and > > remove __ARCH_HAS_5LEVEL_HACK along with include/asm-generic/5level-fixup.h. > > > > The changes are mostly about mechanical replacement of pgd accessors with p4d > > ones and the addition of higher levels to page table traversals. > > > > All the patches were sent separately to the respective arch lists and > > maintainers hence the "v2" prefix. > > You fail to explain why this change which adds 488 additional lines of > code is desirable. Right, I should have been more explicit about it. As Christophe mentioned in his reply, removing 'HACK' and 'fixup' is an improvement. Another thing is that when all architectures behave the same it opens opportunities for cleaning up repeating definitions of page table manipulation primitives. > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up > According to speedtest.net: 11.9Mbps down 500kbps up -- Sincerely yours, Mike.