summaryrefslogtreecommitdiffstats
path: root/mm/debug_vm_pgtable.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2023-05-19 14:39:59 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-06-10 01:25:37 +0200
commit1c9568e806a589da84b7afbdf0619b2c1f6c102a (patch)
treed47f0034585e8d06c3eeae164bfaa6055f3a812a /mm/debug_vm_pgtable.c
parentmm: compaction: remove unnecessary is_via_compact_memory() checks (diff)
downloadlinux-1c9568e806a589da84b7afbdf0619b2c1f6c102a.tar.xz
linux-1c9568e806a589da84b7afbdf0619b2c1f6c102a.zip
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/20230519123959.77335-6-hannes@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Michal Hocko <mhocko@suse.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug_vm_pgtable.c')
0 files changed, 0 insertions, 0 deletions