diff options
| author | Aneesh Kumar K.V <[email protected]> | 2018-09-20 23:39:46 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-10-03 15:40:00 +1000 |
| commit | 8890e03380d361f67fdd7f91758d93339fd66ca9 (patch) | |
| tree | e4d08bd50f0cc52538837ece8c9a9b53bcc59e31 /tools/perf/scripts/python | |
| parent | 75646c480fdeffbc246e9d45f29721ab5569f921 (diff) | |
powerpc/mm/thp: update pmd_trans_huge to check for pmd_present
We need to make sure pmd_trans_huge returns false for a pmd migration entry.
We mark the migration entry by clearing the _PAGE_PRESENT bit. We keep the
_PAGE_PTE bit set to indicate a leaf page table entry. Hence we need to make
sure we check for pmd_present() so that pmd_trans_huge won't return true on
pmd migration entry.
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions