]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mm, nobootmem: do memset() after memblock_reserve()
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Mon, 29 Apr 2013 22:08:53 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2013 22:54:39 +0000 (15:54 -0700)
commitb476e2951fcf7a25574b7b193944b041687f3ed4
tree8870e141ca8acbf58cf0b8b470e30b6dbb4a32d2
parentb4def3509d18c1db9198f92d4c35065e029a09a1
mm, nobootmem: do memset() after memblock_reserve()

Currently, we do memset() before reserving the area.  This may not cause
any problem, but it is somewhat weird.  So change execution order.

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jiang Liu <liuj97@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/nobootmem.c