On 08/01/2018 02:23 PM, osalvador@xxxxxxxxxxxxxxxxxx wrote: > From: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx> > > zone->node is configured only when CONFIG_NUMA=y, so it is a good idea to > have inline functions to access this field in order to avoid ifdef's in > c files. Agreed. > Signed-off-by: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx> > Signed-off-by: Oscar Salvador <osalvador@xxxxxxx> > Reviewed-by: Oscar Salvador <osalvador@xxxxxxx> > Acked-by: Michal Hocko <mhocko@xxxxxxxx> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>