diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-04-29 08:16:19 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-04-29 08:16:19 +0200 |
commit | ca2864e52d391f8df29da78261592502ffadd9d9 (patch) | |
tree | 1ca3b7635d384fe64fd211c9d79ca6d4b4c70731 /drivers/siox/Kconfig | |
parent | mm: compaction: simplify the code in __compact_finished (diff) | |
download | linux-ca2864e52d391f8df29da78261592502ffadd9d9.tar.xz linux-ca2864e52d391f8df29da78261592502ffadd9d9.zip |
mm: compaction: make sure highest is above the min_pfn
It's not guaranteed that highest will be above the min_pfn. If highest is
below the min_pfn, migrate_pfn and free_pfn can meet prematurely and lead
to some useless work. Make sure highest is above min_pfn to avoid making
a futile effort.
Link: https://lkml.kernel.org/r/20220418141253.24298-13-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 'drivers/siox/Kconfig')
0 files changed, 0 insertions, 0 deletions