summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2025-03-26 00:25:24 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-05-11 17:48:13 -0700
commit46e0ab2c62067a8d5e62ae90088b1743af83725d (patch)
tree930a08429c0b0c78171dbc59271fa085074df997 /tools/perf/scripts/python/stackcollapse.py
parent835b868878d0127bd29b8c0009dc424a63dadffb (diff)
downloadlinux-46e0ab2c62067a8d5e62ae90088b1743af83725d.tar.gz
linux-46e0ab2c62067a8d5e62ae90088b1743af83725d.zip
mm: swap: use swap_entries_free() drop last ref count in swap_entries_put_nr()
Use swap_entries_free() to directly free swap entries when the swap entries are not cached and referenced, without needing to set swap entries to set intermediate SWAP_HAS_CACHE state. Link: https://lkml.kernel.org/r/20250325162528.68385-5-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com> Reviewed-by: Baoquan He <bhe@redhat.com> Cc: Kairui Song <kasong@tencent.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions