diff options
author | Michal Hocko <mhocko@suse.com> | 2017-09-06 16:20:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-06 17:27:26 -0700 |
commit | 34ad1296571f7a004a761e3afc18e79428a726a8 (patch) | |
tree | 2f5053ba543bf0bfb48e8bfd72af1b2d199655c3 /mm/page_alloc.c | |
parent | 72675e131eb418c78980c1e683c0c25a25b61221 (diff) | |
download | linux-stable-34ad1296571f7a004a761e3afc18e79428a726a8.tar.gz linux-stable-34ad1296571f7a004a761e3afc18e79428a726a8.tar.bz2 linux-stable-34ad1296571f7a004a761e3afc18e79428a726a8.zip |
mm, memory_hotplug: remove explicit build_all_zonelists from try_online_node
try_online_node calls hotadd_new_pgdat which already calls
build_all_zonelists. So the additional call is redundant. Even though
hotadd_new_pgdat will only initialize zonelists of the new node this is
the right thing to do because such a node doesn't have any memory so
other zonelists would ignore all the zones from this node anyway.
Link: http://lkml.kernel.org/r/20170721143915.14161-6-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Toshi Kani <toshi.kani@hpe.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Joonsoo Kim <js1304@gmail.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions