Re: CONFIG_HOLES_IN_ZONE and memory hot plug code on x86_64

From: Yinghai Lu
Date: Fri Aug 28 2015 - 01:20:52 EST


On Fri, Jun 26, 2015 at 4:31 PM, Steffen Persvold <sp@xxxxxxxxxxxxx> wrote:
> Weâve encountered an issue in a special case where we have a sparse E820 map [1].
>
> Basically the memory hotplug code is causing a âkernel paging requestâ BUG [2].

the trace does not look like hotplug path.

>
> By instrumenting the function register_mem_sect_under_node() in drivers/base/node.c we see that it is called two times with the same struct memory_block argument :
>
> [ 1.901463] register_mem_sect_under_node: start = 80, end = 8f, nid = 0
> [ 1.908129] register_mem_sect_under_node: start = 80, end = 8f, nid = 1

Can you post whole log with SRAT related info?

Yinghai
--
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/