Re: [PATCH 07/28] mm, page_alloc: Avoid unnecessary zone lookups during pageblock operations

From: Vlastimil Babka
Date: Tue Apr 26 2016 - 07:29:48 EST


On 04/15/2016 10:58 AM, Mel Gorman wrote:
Pageblocks have an associated bitmap to store migrate types and whether
the pageblock should be skipped during compaction. The bitmap may be
associated with a memory section or a zone but the zone is looked up
unconditionally. The compiler should optimise this away automatically so
this is a cosmetic patch only in many cases.

Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>