diff options
| author | Johannes Weiner <hannes@cmpxchg.org> | 2023-06-02 18:12:04 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-10 02:25:37 +0300 |
| commit | 3cf04937529020e149666f56a41ebdeb226b69ed (patch) | |
| tree | ae0f3d6f489ee70581ffecb27cd1c5abf5581da8 /include/linux/debugobjects.h | |
| parent | 1c9568e806a589da84b7afbdf0619b2c1f6c102a (diff) | |
| download | linux-3cf04937529020e149666f56a41ebdeb226b69ed.tar.xz | |
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
