Miaohe Lin ca2864e52d 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>
2022-04-28 23:16:19 -07:00
..
2022-03-24 19:06:45 -07:00
2022-03-22 15:57:01 -07:00
2022-02-14 19:51:47 +01:00
2022-04-28 23:16:13 -07:00
2022-01-15 16:30:28 +02:00
2022-03-23 18:03:08 -07:00
2022-04-28 23:16:16 -07:00
2022-04-28 23:16:14 -07:00
2022-03-22 17:03:12 -07:00
2022-03-24 19:06:44 -07:00
2022-01-23 06:20:44 +02:00
2022-04-01 14:40:42 -04:00
2022-04-28 23:15:58 -07:00
2022-03-22 18:26:56 -07:00
2022-03-22 18:26:56 -07:00
2022-04-28 23:16:00 -07:00
2022-04-28 23:16:16 -07:00
2022-01-15 16:30:31 +02:00