diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2015-06-24 16:57:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-24 17:49:42 -0700 |
commit | febd5949e134e279bde927353dc705ce41b18e2d (patch) | |
tree | c01f3548e4a9411838161b2e275b8c731ee1799c /mm/oom_kill.c | |
parent | 641844f5616d7c6597309f560838f996466d7aac (diff) | |
download | linux-rpi-febd5949e134e279bde927353dc705ce41b18e2d.tar.gz linux-rpi-febd5949e134e279bde927353dc705ce41b18e2d.tar.bz2 linux-rpi-febd5949e134e279bde927353dc705ce41b18e2d.zip |
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>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions