diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2017-08-22 11:42:45 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-08-22 15:57:02 +0100 |
commit | 30f3ac00ad2f822937839c95cbb22ce483190c4c (patch) | |
tree | afcbfc8b6a2d9743b9367cc79c38259e9be609d3 /arch/arm64/include | |
parent | arm64: hugetlb: Add break-before-make logic for contiguous entries (diff) | |
download | linux-dev-30f3ac00ad2f822937839c95cbb22ce483190c4c.tar.xz linux-dev-30f3ac00ad2f822937839c95cbb22ce483190c4c.zip |
arm64: hugetlb: Handle swap entries in huge_pte_offset() for contiguous hugepages
huge_pte_offset() was updated to correctly handle swap entries for
hugepages. With the addition of the size parameter, it is now possible
to disambiguate whether the request is for a regular hugepage or a
contiguous hugepage.
Fix huge_pte_offset() for contiguous hugepages by using the size to find
the correct page table entry.
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Cc: David Woods <dwoods@mellanox.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
0 files changed, 0 insertions, 0 deletions