diff options
| author | Johannes Weiner <[email protected]> | 2023-05-19 14:39:59 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-09 16:25:37 -0700 |
| commit | 1c9568e806a589da84b7afbdf0619b2c1f6c102a (patch) | |
| tree | d47f0034585e8d06c3eeae164bfaa6055f3a812a /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f98a497e1f16ee411df72629e32e31cba4cfa9cf (diff) | |
mm: compaction: drop redundant watermark check in compaction_zonelist_suitable()
The watermark check in compaction_zonelist_suitable(), called from
should_compact_retry(), is sandwiched between two watermark checks
already: before, there are freelist attempts as part of direct reclaim and
direct compaction; after, there is a last-minute freelist attempt in
__alloc_pages_may_oom().
The check in compaction_zonelist_suitable() isn't necessary. Kill it.
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]>
Cc: Baolin Wang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions