diff options
| author | Kemeng Shi <[email protected]> | 2023-09-01 23:51:41 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:19 -0700 |
| commit | e19a3f595ae47bd8c034b98eb0b28a3877413387 (patch) | |
| tree | a973de22551afab89a6d70fa3e844d4c1ecb5402 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9cc17ede5125933ab47f8f359c2cce3aca8ee757 (diff) | |
mm/compaction: factor out code to test if we should run compaction for target order
We always do zone_watermark_ok check and compaction_suitable check
together to test if compaction for target order should be ran. Factor
these code out to remove repeat code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kemeng Shi <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions