summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-04-29 09:16:18 +0300
committerakpm <akpm@linux-foundation.org>2022-04-29 09:16:18 +0300
commitcff387d6a2949a46d78a4f558938ef7b4cccd41f (patch)
tree02e756e2e534add1509fc5fbe43530b49b97067f /include/linux/root_dev.h
parent3109de308987ceae413ee015038d51e2a86c7806 (diff)
downloadlinux-cff387d6a2949a46d78a4f558938ef7b4cccd41f.tar.xz
mm: compaction: make compaction_zonelist_suitable return false when COMPACT_SUCCESS
When compact_result indicates that the allocation should now succeed, i.e. compact_result = COMPACT_SUCCESS, compaction_zonelist_suitable should return false because there is no need to do compaction now. Link: https://lkml.kernel.org/r/20220418141253.24298-11-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Charan Teja Kalla <charante@codeaurora.org> Cc: David Hildenbrand <david@redhat.com> Cc: Pintu Kumar <pintu@codeaurora.org> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions