Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yasunori Goto <y-goto@...>
Cc: Paul Mundt <lethal@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-mm@...>
Date: Tuesday, September 11, 2007 - 5:15 am

On Tue, Sep 11, 2007 at 05:18:01PM +0900, Yasunori Goto wrote:

Nit, needs a space there before the '{'.


The problem as I see it is that when we boot the system we start a
kswapd on all nodes with memory.  If the hot-add adds memory to a
pre-existing node with no memory we will not start one and we end up
with a node with memory and no kswapd.  Bad.

As kswapd_run is a no-op when a kswapd already exists this seems a safe
way to fix that.  Paul's ->zone conversion is obviously correct also.

Acked-by: Andy Whitcroft <apw@shadowen.org>

-apw
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Yasunori Goto, (Tue Sep 11, 4:18 am)
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Andy Whitcroft, (Tue Sep 11, 5:15 am)
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Yasunori Goto, (Tue Sep 11, 5:37 am)
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Andrew Morton, (Thu Sep 13, 9:44 pm)
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Yasunori Goto, (Thu Sep 13, 10:02 pm)
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Andrew Morton, (Thu Sep 13, 10:41 pm)
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Lee Schermerhorn, (Fri Sep 14, 10:09 am)
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Andrew Morton, (Fri Sep 14, 4:51 pm)
Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build., Yasunori Goto, (Fri Sep 14, 1:14 am)