arm64: hugetlb: Override huge_pte_clear() to support contiguous hugepages
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 22 Aug 2017 10:42:46 +0000 (11:42 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 22 Aug 2017 16:47:10 +0000 (17:47 +0100)
commitc3e4ed5c3d5d79af940eb24c810dddcec6d2b536
tree7fe96053cdf9e6bc952930b6162f413e9bba7cfa
parent30f3ac00ad2f822937839c95cbb22ce483190c4c
arm64: hugetlb: Override huge_pte_clear() to support contiguous hugepages

The default huge_pte_clear() implementation does not clear contiguous
page table entries when it encounters contiguous hugepages that are
supported on arm64.

Fix this by overriding the default implementation to clear all the
entries associated with contiguous hugepages.

Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Cc: David Woods <dwoods@mellanox.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/hugetlb.h
arch/arm64/mm/hugetlbpage.c