diff options
| author | Miaohe Lin <[email protected]> | 2021-06-28 19:37:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-06-29 10:53:49 -0700 |
| commit | bb243f7dc62429343404b052e9c51d745e618346 (patch) | |
| tree | 3766c6a25d4784bf1f4c788134136338ba4bba9c /tools/perf/scripts/python/flamegraph.py | |
| parent | 2efa33fc7f6ec94a3a538c1a264273c889be2b36 (diff) | |
mm/swapfile: move get_swap_page_of_type() under CONFIG_HIBERNATION
Patch series "Cleanups for swap", v2.
This series contains just cleanups to remove some unused variables, delete
meaningless forward declarations and so on. More details can be found in
the respective changelogs.
This patch (of 4):
We should move get_swap_page_of_type() under CONFIG_HIBERNATION since the
only caller of this function is now suspend routine.
[[email protected]: move scan_swap_map() under CONFIG_HIBERNATION]
Link: https://lkml.kernel.org/r/[email protected]
[[email protected]: fold scan_swap_map() into the only caller get_swap_page_of_type()]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions