Home
last modified time | relevance | path

Searched hist:"3 cf04937529020e149666f56a41ebdeb226b69ed" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dcompaction.hdiff 3cf04937529020e149666f56a41ebdeb226b69ed Fri Jun 02 10:12:04 CDT 2023 Johannes Weiner <hannes@cmpxchg.org> 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>
/openbmc/linux/mm/
H A Dvmscan.cdiff 3cf04937529020e149666f56a41ebdeb226b69ed Fri Jun 02 10:12:04 CDT 2023 Johannes Weiner <hannes@cmpxchg.org> 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>