Searched hist:"30 f3ac00ad2f822937839c95cbb22ce483190c4c" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/arm64/mm/ |
H A D | hugetlbpage.c | 30f3ac00ad2f822937839c95cbb22ce483190c4c Tue Aug 22 10:42:45 UTC 2017 Punit Agrawal <punit.agrawal@arm.com> 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>
|