From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752983AbcBZJrR (ORCPT ); Fri, 26 Feb 2016 04:47:17 -0500 Received: from foss.arm.com ([217.140.101.70]:58032 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751614AbcBZJrO (ORCPT ); Fri, 26 Feb 2016 04:47:14 -0500 Date: Fri, 26 Feb 2016 09:47:21 +0000 From: Will Deacon To: miles.chen@mediatek.com Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srv_wsdupstream@mediatek.com, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] arm64/mm: remove unnecessary boundary check Message-ID: <20160226094718.GA29125@arm.com> References: <1456371874-19826-1-git-send-email-miles.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456371874-19826-1-git-send-email-miles.chen@mediatek.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 25, 2016 at 11:44:34AM +0800, miles.chen@mediatek.com wrote: > From: Miles Chen > > Remove the unnecessary boundary check since there is a huge > gap between user and kernel address that they would never overlap. > (arm64 does not have enough levels of page tables to cover 64-bit > virtual address) > > See Documentation/arm64/memory.txt > > Signed-off-by: Miles Chen > --- > arch/arm64/mm/init.c | 2 -- > 1 file changed, 2 deletions(-) Acked-by: Will Deacon Will