Re: [PATCH: 012/017](RFC) Memory hotplug for new nodes v.3.(rebuild zonelists after online pages)

From: Andrew Morton
Date: Thu Mar 09 2006 - 07:01:51 EST


Yasunori Goto <y-goto@xxxxxxxxxxxxxx> wrote:
>
> In current code, zonelist is considered to be build once, no modification.
> But MemoryHotplug can add new zone/pgdat. It must be updated.
>
> This patch modifies build_all_zonelists().
> By this, build_all_zonelist() can reconfig pgdat's zonelists.
>
> To update them safety, this patch use stop_machine_run().

Yup, that's a good way of doing it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/