summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2025-02-05 17:27:13 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:05 -0700
commit9b9cba7289ba7e5076fbfe913860306b4672631c (patch)
tree5416b6dde44586948366906840fbaffddc0bd727 /tools/perf/scripts/python/exported-sql-viewer.py
parent0eb7d2c337f9df3b6adbcbdce213595d94781e05 (diff)
downloadlinux-9b9cba7289ba7e5076fbfe913860306b4672631c.tar.gz
linux-9b9cba7289ba7e5076fbfe913860306b4672631c.zip
mm/swap: skip scanning cluster range if it's empty cluster
Since ci->lock has been taken when isolating cluster from si->free_clusters or taking si->percpu_cluster->next[order], it's unnecessary to scan and check the cluster range availability if i'ts empty cluster, and this can accelerate the huge page swapping. Link: https://lkml.kernel.org/r/20250205092721.9395-5-bhe@redhat.com Signed-off-by: Baoquan He <bhe@redhat.com> Cc: Chris Li <chrisl@kernel.org> Cc: Kairui Song <ryncsn@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions