aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2023-08-01 20:37:23 +0800
committerAndrew Morton <[email protected]>2023-08-21 13:37:32 -0700
commitebddd111fcd13fefd7350f77201dfc5605672909 (patch)
tree69c3d3111aa489e9e7ffbc82ac7ebaca3f3c53cd /tools/perf/scripts/python/export-to-sqlite.py
parent549f5c771e1be6985c29d5f1e0bbba11a8897ec8 (diff)
mm/page_alloc: avoid unneeded alike_pages calculation
When free_pages is 0, alike_pages is not used. So alike_pages calculation can be avoided by checking free_pages early to save cpu cycles. Also fix typo 'comparable'. It should be 'compatible' here. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions