diff options
| author | 2023-06-02 11:12:04 -0400 | |
|---|---|---|
| committer | 2023-06-09 16:25:37 -0700 | |
| commit | 3cf04937529020e149666f56a41ebdeb226b69ed (patch) | |
| tree | ae0f3d6f489ee70581ffecb27cd1c5abf5581da8 /scripts/Makefile.thinlto | |
| parent | mm: compaction: drop redundant watermark check in compaction_zonelist_suitable() (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
