aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHuang Ying <[email protected]>2023-05-29 14:13:53 +0800
committerAndrew Morton <[email protected]>2023-06-09 16:25:49 -0700
commit3ecdeb0f876e91c4a7129ba2ba5baa530aa6c4f9 (patch)
treefb774a8ead845b889170e7cbd50f6407402c30c9 /tools/perf/scripts/python/stackcollapse.py
parent46a774d3eae523fd9a1907ba90e9a116cd1c5ddc (diff)
swap: remove __swp_swapcount()
__swp_swapcount() just encloses the calling to swap_swapcount() with get/put_swap_device(). It is called in __read_swap_cache_async() only, which encloses the calling with get/put_swap_device() already. So, __read_swap_cache_async() can call swap_swapcount() directly. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: "Huang, Ying" <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Reviewed-by: Chris Li (Google) <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Tim Chen <[email protected]> Cc: Yang Shi <[email protected]> Cc: Yu Zhao <[email protected]> Cc: Yosry Ahmed <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions