OSDN Git Service

mm: compaction: use the correct type of list for free pages
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Fri, 7 Jul 2023 08:51:46 +0000 (16:51 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:13 +0000 (10:12 -0700)
commit94ec20035b05f842dc08277a5a90fba757088f39
tree709ea55c72b9d0c73d98a5f9567b2caa9b9fd885
parent809ef83ccb61fedc951eccf876a327e940bc412a
mm: compaction: use the correct type of list for free pages

Use the page->buddy_list instead of page->lru to clarify the correct type
of list for free pages.

Link: https://lkml.kernel.org/r/b21cd8e2e32b9a1d9bc9e43ebf8acaf35e87f8df.1688715750.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Huang, Ying <ying.huang@intel.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c