aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2017-07-15 11:41:17 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2017-07-16 17:05:33 +1000
commit5c865b2316e6ec459c5170a1b9e7fa77b79b8b9b (patch)
treeaed05946615954d4d31c778fd4e9f27506f155f2 /mm
parent6379d071d06ef44e0e07c054680a8cdd87cb797e (diff)
mm-memory_hotplug-just-build-zonelist-for-new-added-node-fix
tweak comment text Cc: Jiang Liu <liuj97@gmail.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Wei Yang <richard.weiyang@gmail.com> Cc: Xishi Qiu <qiuxishi@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 7392e4ff628f..bb2d08167bbf 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -5213,8 +5213,9 @@ static int __build_all_zonelists(void *data)
memset(node_load, 0, sizeof(node_load));
#endif
- /* This node is hotadded and no memory preset yet.
- * So just build zonelists is fine, no need to touch other nodes.
+ /*
+ * This node is hotadded and no memory is yet present. So just
+ * building zonelists is fine - no need to touch other nodes.
*/
if (self && !node_online(self->node_id))
build_zonelists(self);