diff options
| author | Miaohe Lin <[email protected]> | 2022-05-19 14:08:50 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-19 14:08:50 -0700 |
| commit | 92bafb20b2edd1ab5022a9bce6fb73ed9a749453 (patch) | |
| tree | 80acef7c2afa0485e4e0c3b193013fbf4ca1d602 /tools/perf/scripts/python/flamegraph.py | |
| parent | 613bec092fe78307a8b130353ce1ef340915587f (diff) | |
mm/swap: use helper is_swap_pte() in swap_vma_readahead
Patch series "A few cleanup patches for swap".
This series contains a few patches to fix the comment, remove unneeded
return value, use some helpers and so on. More details can be found in
the respective changelogs.
This patch (of 14):
Use helper is_swap_pte() to check whether pte is swap entry to make code
more clear. Minor readability improvement.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: David Howells <[email protected]>
Cc: NeilBrown <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions