Re: [PATCH] arm64/mm: remove unnecessary boundary check

2016-02-26 Thread Catalin Marinas
On Thu, Feb 25, 2016 at 11:44:34AM +0800, miles.c...@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 > vi

Re: [PATCH] arm64/mm: remove unnecessary boundary check

2016-02-26 Thread Will Deacon
On Thu, Feb 25, 2016 at 11:44:34AM +0800, miles.c...@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 > vi

[PATCH] arm64/mm: remove unnecessary boundary check

2016-02-24 Thread miles.chen
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 --- a