From: Will Deacon <will.deacon@arm.com>
To: miles.chen@mediatek.com
Cc: Catalin Marinas <catalin.marinas@arm.com>,
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
Date: Fri, 26 Feb 2016 09:47:21 +0000 [thread overview]
Message-ID: <20160226094718.GA29125@arm.com> (raw)
In-Reply-To: <1456371874-19826-1-git-send-email-miles.chen@mediatek.com>
On Thu, Feb 25, 2016 at 11:44:34AM +0800, miles.chen@mediatek.com wrote:
> From: Miles Chen <miles.chen@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@mediatek.com>
> ---
> arch/arm64/mm/init.c | 2 --
> 1 file changed, 2 deletions(-)
Acked-by: Will Deacon <will.deacon@arm.com>
Will
WARNING: multiple messages have this Message-ID (diff)
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64/mm: remove unnecessary boundary check
Date: Fri, 26 Feb 2016 09:47:21 +0000 [thread overview]
Message-ID: <20160226094718.GA29125@arm.com> (raw)
In-Reply-To: <1456371874-19826-1-git-send-email-miles.chen@mediatek.com>
On Thu, Feb 25, 2016 at 11:44:34AM +0800, miles.chen at mediatek.com wrote:
> From: Miles Chen <miles.chen@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@mediatek.com>
> ---
> arch/arm64/mm/init.c | 2 --
> 1 file changed, 2 deletions(-)
Acked-by: Will Deacon <will.deacon@arm.com>
Will
next prev parent reply other threads:[~2016-02-26 9:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-25 3:44 [PATCH] arm64/mm: remove unnecessary boundary check miles.chen
2016-02-25 3:44 ` miles.chen
2016-02-25 3:44 ` miles.chen at mediatek.com
2016-02-26 9:47 ` Will Deacon [this message]
2016-02-26 9:47 ` Will Deacon
[not found] ` <1456371874-19826-1-git-send-email-miles.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2016-02-26 13:40 ` Catalin Marinas
2016-02-26 13:40 ` Catalin Marinas
2016-02-26 13:40 ` Catalin Marinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160226094718.GA29125@arm.com \
--to=will.deacon@arm.com \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=miles.chen@mediatek.com \
--cc=srv_wsdupstream@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.