commit | febd5949e134e279bde927353dc705ce41b18e2d | [log] [tgz] |
---|---|---|
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | Wed Jun 24 16:57:02 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jun 24 17:49:42 2015 -0700 |
tree | c01f3548e4a9411838161b2e275b8c731ee1799c | |
parent | 641844f5616d7c6597309f560838f996466d7aac [diff] |
mm/memory hotplug: init the zone's size when calculating node totalpages Init the zone's size when calculating node totalpages to avoid duplicated operations in free_area_init_core(). Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>