[PATCH] arm64/mm: remove unnecessary boundary check

Catalin Marinas catalin.marinas at arm.com
Fri Feb 26 05:40:33 PST 2016


On Thu, Feb 25, 2016 at 11:44:34AM +0800, miles.chen at mediatek.com wrote:
> From: Miles Chen <miles.chen at mediatek.com>
> 
> 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 at mediatek.com>

Applied. Thanks.

-- 
Catalin



More information about the Linux-mediatek mailing list