aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2024-02-08 10:25:08 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-02-23 17:48:31 -0800
commitf6f3f27597864d38bce5b4c346494970ecc19544 (patch)
treed39fc2ebc67485f4676dd111709e303a63d40435 /tools/perf/scripts/python/export-to-postgresql.py
parentmm: zswap: increase reject_compress_poor but not reject_compress_fail if comp... (diff)
downloadlinux-f6f3f27597864d38bce5b4c346494970ecc19544.tar.gz
linux-f6f3f27597864d38bce5b4c346494970ecc19544.zip
mm: compaction: early termination in compact_nodes()
No need to continue try compact memory if pending fatal signal, allow loop termination earlier in compact_nodes(). The existing fatal_signal_pending() check does make compact_zone() break out of the while loop, but it still enters the next zone/next nid, and some unnecessary functions(eg, lru_add_drain) are called. There was no observable benefit from the new test, it is just found from code inspection when refactoring compact_node(). Link: https://lkml.kernel.org/r/20240208022508.1771534-1-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions