[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 10 Oct 2008 15:55:16 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Jon Tollefson <kniht@...ux.vnet.ibm.com>
Cc: linuxppc-dev <linuxppc-dev@...abs.org>,
Linux Memory Management List <linux-mm@...ck.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Adam Litke <agl@...ibm.com>,
Kumar Gala <galak@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>
Subject: Re: [PATCH v3] powerpc: properly reserve in bootmem the lmb
reserved regions that cross NUMA nodes
On Thu, 2008-10-09 at 15:18 -0500, Jon Tollefson wrote:
> If there are multiple reserved memory blocks via lmb_reserve() that are
> contiguous addresses and on different NUMA nodes we are losing track of which
> address ranges to reserve in bootmem on which node. I discovered this
> when I recently got to try 16GB huge pages on a system with more then 2 nodes.
I'm going to apply it, however, could you double check something for
me ? A cursory glance of the new version makes me wonder, what if the
first call to get_node_active_region() ends up with the work_fn never
hitting the if () case ? I think in that case, node_ar->end_pfn never
gets initialized right ? Can that happen in practice ? I suspect that
isn't the case but better safe than sorry...
If there's indeed a potential problem, please send a fixup patch.
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists