diff options
| author | Barry Song <[email protected]> | 2024-07-24 14:00:56 +1200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:25:46 -0700 |
| commit | d2539ed7ee3b042e4503c304603d0eaa50c9c476 (patch) | |
| tree | def8311d35be72a7ae7ad8bf98fa085b34db51b9 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 4fd568faf6e7e21f206cd66dd4fca9a72e7d922c (diff) | |
mm: extend 'usage' parameter so that cluster_swap_free_nr() can be reused
Extend a usage parameter so that cluster_swap_free_nr() can be reused by
both swapcache_clear() and swap_free(). __swap_entry_free() is quite
similar but more tricky as it requires the return value of
__swap_entry_free_locked() which cluster_swap_free_nr() doesn't support.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Barry Song <[email protected]>
Reviewed-by: Ryan Roberts <[email protected]>
Acked-by: Chris Li <[email protected]>
Cc: "Huang, Ying" <[email protected]>
Cc: Kairui Song <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Chuanhua Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions