Re: [PATCH v13 3/6] mm: Introduce Reported pages

From: Andrew Morton
Date: Tue Nov 05 2019 - 23:00:26 EST


On Tue, 05 Nov 2019 14:02:19 -0800 Alexander Duyck <alexander.duyck@xxxxxxxxx> wrote:

> In order to pave the way for free page reporting in virtualized
> environments we will need a way to get pages out of the free lists and
> identify those pages after they have been returned. To accomplish this,
> this patch adds the concept of a Reported Buddy, which is essentially
> meant to just be the Uptodate flag used in conjunction with the Buddy
> page type.

build fix

--- a/mm/page_reporting.h~mm-introduce-reported-pages-fix
+++ a/mm/page_reporting.h
@@ -158,7 +158,7 @@ free_area_reporting(struct zone *zone, u
return false;
}
static inline struct list_head *
-get_unreported_tail(struct zone *zone, unsigned int order, int migratetype)
+get_unreported_tail(unsigned int order, int migratetype)
{
return NULL;
}
_