diff options
author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2023-06-21 16:14:28 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-23 16:59:27 -0700 |
commit | 1bf61092bc90a9054d01cfdf35b42c1bf6fe47c7 (patch) | |
tree | 63327af8d8dc876588df0e10a5d2ecc30d4d01f9 /fs | |
parent | b5665cf936bf3955fec18c09a6aa53c8a57ea8b7 (diff) |
mm: page_alloc: use the correct type of list for free pages
Commit bf75f200569d ("mm/page_alloc: add page->buddy_list and
page->pcp_list") introduces page->buddy_list and page->pcp_list as a union
with page->lru, but missed to change get_page_from_free_area() to use
page->buddy_list to clarify the correct type of list for a free page.
Link: https://lkml.kernel.org/r/7e7ab533247d40c0ea0373c18a6a48e5667f9e10.1687333557.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions