[PATCH v2] arm64: hugetlb: fix the wrong return value for huge_ptep_set_access_flags
Catalin Marinas
catalin.marinas at arm.com
Wed Jan 11 02:27:31 PST 2017
On Wed, Jan 11, 2017 at 02:02:00PM +0800, Huang Shijie wrote:
> In current code, the @changed always returns the last one's
> status for the huge page with the contiguous bit set.
> This is really not what we want. Even one of the PTEs is changed,
> we should tell it to the caller.
>
> This patch fixes this issue.
>
> Fixes: 66b3923a1a0f ("arm64: hugetlb: add support for PTE contiguous bit")
> Cc: stable at vger.kernel.org
> Signed-off-by: Huang Shijie <shijie.huang at arm.com>
Applied for 4.10. Thanks.
--
Catalin
More information about the linux-arm-kernel
mailing list