Skip to content
Commit 30f3ac00 authored by Punit Agrawal's avatar Punit Agrawal Committed by Catalin Marinas
Browse files

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: default avatarPunit Agrawal <punit.agrawal@arm.com>
Cc: David Woods <dwoods@mellanox.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent d8bdcff2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment