]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory hotplug: init the zone's size when calculating node totalpages
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Wed, 24 Jun 2015 23:57:02 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Jun 2015 00:49:42 +0000 (17:49 -0700)
commitc82f8d43005dd62f8c7b29d20b30f4f499fca17b
treec01f3548e4a9411838161b2e275b8c731ee1799c
parent33cb16814035f0adec21b45161650f99ac5bcc9f
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>
mm/page_alloc.c