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

From: Will Deacon
Date: Fri Feb 26 2016 - 04:47:22 EST


On Thu, Feb 25, 2016 at 11:44:34AM +0800, miles.chen@xxxxxxxxxxxx wrote:
> From: Miles Chen <miles.chen@xxxxxxxxxxxx>
>
> 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 <miles.chen@xxxxxxxxxxxx>
> ---
> arch/arm64/mm/init.c | 2 --
> 1 file changed, 2 deletions(-)

Acked-by: Will Deacon <will.deacon@xxxxxxx>

Will