[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d25e0b69-db84-5c64-bf26-e4e429e5f510@suse.cz>
Date: Fri, 3 Aug 2018 14:20:06 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: osalvador@...hadventures.net, akpm@...ux-foundation.org
Cc: mhocko@...e.com, pasha.tatashin@...cle.com,
mgorman@...hsingularity.net, aaron.lu@...el.com,
iamjoonsoo.kim@....com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, dan.j.williams@...el.com,
david@...hat.com, Oscar Salvador <osalvador@...e.de>
Subject: Re: [PATCH v6 2/5] mm: access zone->node via zone_to_nid() and
zone_set_nid()
On 08/01/2018 02:23 PM, osalvador@...hadventures.net wrote:
> From: Pavel Tatashin <pasha.tatashin@...cle.com>
>
> 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@...cle.com>
> Signed-off-by: Oscar Salvador <osalvador@...e.de>
> Reviewed-by: Oscar Salvador <osalvador@...e.de>
> Acked-by: Michal Hocko <mhocko@...e.com>
Acked-by: Vlastimil Babka <vbabka@...e.cz>
Powered by blists - more mailing lists