Re: [PATCH v3 2/2] mm/sparse: start using sparse_init_nid(), and remove old code

From: Oscar Salvador
Date: Mon Jul 02 2018 - 10:04:48 EST


On Sun, Jul 01, 2018 at 10:04:17PM -0400, Pavel Tatashin wrote:
> Change sprase_init() to only find the pnum ranges that belong to a specific
> node and call sprase_init_nid() for that range from sparse_init().
>
> Delete all the code that became obsolete with this change.
>
> Signed-off-by: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>

This looks like an improvement to me.
It also makes the code much easier to follow and to understand.

Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>

--
Oscar Salvador
SUSE L3