lkml.org 
[lkml]   [2008]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] memory hotplug: memmap_init_zone called twice.
On Fri, 9 May 2008 08:04:25 +0200
Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> Subject: [PATCH] memory hotplug: memmap_init_zone called twice.
>
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
>
> __add_zone calls memmap_init_zone twice if memory gets attached to
> an empty zone. Once via init_currently_empty_zone and once explictly
> right after that call.
> Looks like this is currently not a bug, however the call is
> superfluous and might lead to subtle bugs if memmap_init_zone gets
> changed. So make sure it is called only once.
>
seems reasonable. Thank you!

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>



\
 
 \ /
  Last update: 2008-05-09 08:35    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site