summaryrefslogtreecommitdiffstats
path: root/mm/page_reporting.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2023-06-02 17:12:04 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-06-10 01:25:37 +0200
commit3cf04937529020e149666f56a41ebdeb226b69ed (patch)
treeae0f3d6f489ee70581ffecb27cd1c5abf5581da8 /mm/page_reporting.c
parentmm: compaction: drop redundant watermark check in compaction_zonelist_suitable() (diff)
downloadlinux-3cf04937529020e149666f56a41ebdeb226b69ed.tar.xz
linux-3cf04937529020e149666f56a41ebdeb226b69ed.zip
mm: compaction: have compaction_suitable() return bool
Since it only returns COMPACT_CONTINUE or COMPACT_SKIPPED now, a bool return value simplifies the callsites. Link: https://lkml.kernel.org/r/20230602151204.GD161817@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Suggested-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_reporting.c')
0 files changed, 0 insertions, 0 deletions