Re: [PATCH 3/3] mm, nobootmem: do memset() after memblock_reserve()

2013-03-18 Thread Joonsoo Kim
On Mon, Mar 18, 2013 at 10:53:04PM -0700, Yinghai Lu wrote: > On Mon, Mar 18, 2013 at 10:16 PM, Joonsoo Kim wrote: > > 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 Ki

Re: [PATCH 3/3] mm, nobootmem: do memset() after memblock_reserve()

2013-03-18 Thread Yinghai Lu
On Mon, Mar 18, 2013 at 10:16 PM, Joonsoo Kim wrote: > 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 > > diff --git a/mm/nobootmem.c b/mm/nobootmem.c > index 589c673..f11

[PATCH 3/3] mm, nobootmem: do memset() after memblock_reserve()

2013-03-18 Thread Joonsoo Kim
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 diff --git a/mm/nobootmem.c b/mm/nobootmem.c index 589c673..f11ec1c 100644 --- a/mm/nobootmem.c +++ b/mm/nobootmem.c @@ -46,8 +46,8