[PATCH 4/9] mm, memory_hotplug: drop zone from build_all_zonelists

2017-07-21 Thread Michal Hocko
From: Michal Hocko build_all_zonelists gets a zone parameter to initialize zone's pagesets. There is only a single user which gives a non-NULL zone parameter and that one doesn't really need the rest of the build_all_zonelists (see 6dcd73d7011b ("memory-hotplug: allocate zone's pcp before onlinin

Re: [PATCH 4/9] mm, memory_hotplug: drop zone from build_all_zonelists

2017-07-20 Thread Michal Hocko
On Wed 19-07-17 15:33:32, Vlastimil Babka wrote: > On 07/14/2017 10:00 AM, Michal Hocko wrote: [...] > > @@ -5146,19 +5145,14 @@ build_all_zonelists_init(void) > > * unless system_state == SYSTEM_BOOTING. > > * > > * __ref due to (1) call of __meminit annotated setup_zone_pageset > > Isn't t

Re: [PATCH 4/9] mm, memory_hotplug: drop zone from build_all_zonelists

2017-07-19 Thread Vlastimil Babka
On 07/14/2017 10:00 AM, Michal Hocko wrote: > From: Michal Hocko > > build_all_zonelists gets a zone parameter to initialize zone's > pagesets. There is only a single user which gives a non-NULL > zone parameter and that one doesn't really need the rest of the > build_all_zonelists (see 6dcd73d70

[PATCH 4/9] mm, memory_hotplug: drop zone from build_all_zonelists

2017-07-14 Thread Michal Hocko
From: Michal Hocko build_all_zonelists gets a zone parameter to initialize zone's pagesets. There is only a single user which gives a non-NULL zone parameter and that one doesn't really need the rest of the build_all_zonelists (see 6dcd73d7011b ("memory-hotplug: allocate zone's pcp before onlinin