aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2023-05-19 14:39:56 +0200
committerAndrew Morton <[email protected]>2023-06-09 16:25:36 -0700
commit511a69b27fe6c2d7312789bd9e2e40b00e3903ef (patch)
tree9976642a6036c00fd4b58ed0f3c3ad625674b604 /tools/perf/scripts/python/exported-sql-viewer.py
parentecd8b2928f2efc7b678b361d51920c15b5ef3885 (diff)
mm: compaction: simplify should_compact_retry()
The different branches for retry are unnecessarily complicated. There are really only three outcomes: progress (retry n times), skipped (retry if reclaim can help), failed (retry with higher priority). Rearrange the branches and the retry counter to make it simpler. [[email protected]: restore behavior when hitting max_retries] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Johannes Weiner <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions