diff options
| author | Hongchen Zhang <[email protected]> | 2022-05-09 18:20:53 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-05-13 07:20:07 -0700 |
| commit | b304c6f0d39d927a87e72a8ac6c89b96ac25f355 (patch) | |
| tree | 29be4e485440f69532893b652bb4d0a486767577 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5b4494896cb379b0304ba8320589f2ffd08a7b31 (diff) | |
mm/swapops: make is_pmd_migration_entry more strict
A pmd migration entry should first be a swap pmd,so use is_swap_pmd(pmd)
instead of !pmd_present(pmd).
On the other hand, some architecture (MIPS for example) may misjudge a
pmd_none entry as a pmd migration entry.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Hongchen Zhang <[email protected]>
Acked-by: Peter Xu <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Ralph Campbell <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions