Re: [PATCH] mm: Use zonelist name instead of using hardcoded index

From: Anshuman Khandual
Date: Mon Aug 29 2016 - 01:44:46 EST


On 08/26/2016 09:27 PM, Aneesh Kumar K.V wrote:
> This use the existing enums instead of hardcoded index when looking at the

Small nit. 'use' --> 'uses'

> zonelist. This makes it more readable. No functionality change by this
> patch.

Came across this some time back, yeah it really makes sense to replace
those hard coded indices.

>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx>

Reviewed-by: Anshuman Khandual <khandual@xxxxxxxxxxxxxxxxxx>