diff options
author | Punit Agrawal <[email protected]> | 2017-08-22 11:42:45 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2017-08-22 15:57:02 +0100 |
commit | 30f3ac00ad2f822937839c95cbb22ce483190c4c (patch) | |
tree | afcbfc8b6a2d9743b9367cc79c38259e9be609d3 /tools/perf/scripts/python/sched-migration.py | |
parent | d8bdcff2876424d44d08a4d16a54fee518f9d5b8 (diff) |
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 <[email protected]>
Cc: David Woods <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions