Re: [PATCH] sparc64: Fix find_node warning if numa node cannot be found

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

 



From: Thomas Tai <thomas.tai@xxxxxxxxxx>
Date: Thu,  3 Nov 2016 09:19:01 -0700

> When booting up LDOM, find_node() warns that a physical address
> doesn't match a NUMA node.
> 
> WARNING: CPU: 0 PID: 0 at arch/sparc/mm/init_64.c:835
> find_node+0xf4/0x120 find_node: A physical address doesn't
> match a NUMA node rule. Some physical memory will be
> owned by node 0.Modules linked in:
 ...
> It is because linux use an internal structure node_masks[] to
> keep the best memory latency node only. However, LDOM mdesc can
> contain single latency-group with multiple memory latency nodes.
> 
> If the address doesn't match the best latency node within
> node_masks[], it should check for an alternative via mdesc.
> The warning message should only be printed if the address
> doesn't match any node_masks[] nor within mdesc. To minimize
> the impact of searching mdesc every time, the last matched
> mask and index is stored in a variable.
> 
> Signed-off-by: Thomas Tai <thomas.tai@xxxxxxxxxx>
> Reviewed-by: Chris Hyser <chris.hyser@xxxxxxxxxx>
> Reviewed-by: Liam Merwick <liam.merwick@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux