Re: [PATCH Bug fix] acpi, movablemem_map: node0 should always be unhotpluggable when using SRAT.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Jan 2013, Tang Chen wrote:

> > Exactly, there is a node 0 but it includes no online memory (and that
> > should be the case as if it was solely hotpluggable memory) at the time of
> > boot.  The sysfs interfaces only get added if the memory is onlined later.
> 
> OK, you mean you have only node1 at first and no node0 interface, right?
> If so, then this patch is wrong. :)
> 

Not usually unless I modify my SRAT or I start pulling DIMMs, but yes, 
I've booted the kernel many times in the past with no node 0 online.  As 
far as I know, there's no special casing that is needed for node 0 to 
assume it's online and I've tried to fix up places where that assumption 
has been made.  I'm sure that node_online_map must include at least one 
online node, obviously, but there should be no requirement that it be node 
0.

> But you mean physical address 0x0 is on your node1, right? Otherwise, how
> could
> the kernel be loaded ?
> 

Yes, the online pxms all point to nodes that do not have the node id of 0.

Is it possible to try earlyprintk and get a serial console connected or 
reproduce it locally to find out where the problem is?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]