From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752672AbcBZNkj (ORCPT ); Fri, 26 Feb 2016 08:40:39 -0500 Received: from foss.arm.com ([217.140.101.70]:59380 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021AbcBZNki (ORCPT ); Fri, 26 Feb 2016 08:40:38 -0500 Date: Fri, 26 Feb 2016 13:40:33 +0000 From: Catalin Marinas To: miles.chen@mediatek.com Cc: Will Deacon , srv_wsdupstream@mediatek.com, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64/mm: remove unnecessary boundary check Message-ID: <20160226134033.GK4777@e104818-lin.cambridge.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 Applied. Thanks. -- Catalin