aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMateusz Nosek <[email protected]>2020-10-13 16:56:58 -0700
committerLinus Torvalds <[email protected]>2020-10-13 18:38:34 -0700
commit62b35fe0eba21b09b015cdb43cddf51073e4b18c (patch)
treec6765b6baf6b695d34245bd47d0fd9df8642403f /tools/perf/scripts/python/export-to-sqlite.py
parent1860129421c37a152b3bed23d7bef8ae21545d67 (diff)
mm/compaction.c: micro-optimization remove unnecessary branch
The same code can work both for 'zone->compact_considered > defer_limit' and 'zone->compact_considered >= defer_limit'. In the latter there is one branch less which is more effective considering performance. Signed-off-by: Mateusz Nosek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Mel Gorman <[email protected]> Cc: David Rientjes <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions