On 01/12/2017 06:21 PM, Mel Gorman wrote:


> Signed-off-by: Mel Gorman <mgor...@techsingularity.net>
> Acked-by: Hillf Danton <hillf...@alibaba-inc.com>
> ---
>  mm/page_alloc.c | 126 
++++++++++++++++++++++++++++++++++----------------------
>  1 file changed, 77 insertions(+), 49 deletions(-)
>
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 2c6d5f64feca..d8798583eaf8 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -2610,68 +2610,96 @@ static inline void zone_statistics(struct zone 
*preferred_zone, struct zone *z,
>  #endif
>  }
>
> +/* Remote page from the per-cpu list, caller must protect the list */

    ^ Remove

> +static struct page *__rmqueue_pcplist(struct zone *zone, unsigned int order,
> +                  gfp_t gfp_flags, int migratetype, bool cold,

order and gfp_flags seem unused here


This on top?

Yeah, thanks!

Reply via email to