Re: [patch] mm, page_alloc: set num_movable in move_freepages()
From: David Rientjes
Date: Sun Oct 07 2018 - 18:36:51 EST
On Fri, 5 Oct 2018, Andrew Morton wrote:
> On Fri, 5 Oct 2018 13:56:39 -0700 (PDT) David Rientjes <rientjes@xxxxxxxxxx> wrote:
>
> > If move_freepages() returns 0 because zone_spans_pfn(), *num_movable can
>
> move_free_pages_block()? !zone_spans_pfn()?
>
move_freepages_block() more accurately, yes. And yes, it depends on the
return value of zone_spans_pfn().