From: Steffen Persvold <sp@numascale.com>
To: Yinghai Lu <yinghai@kernel.org>
Cc: x86 <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: CONFIG_HOLES_IN_ZONE and memory hot plug code on x86_64
Date: Fri, 28 Aug 2015 06:42:07 +0000 [thread overview]
Message-ID: <2F8F36EB-D2D8-4DCE-910C-C56FFCEED3BF@numascale.com> (raw)
In-Reply-To: <CAE9FiQWhzZBGKyLicuw_J_d6t_CrmwTndkRvj+NC=6WZgpda-Q@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2874 bytes --]
On 27/08/15 22:20 , "yhlu.kernel@gmail.com on behalf of Yinghai Lu" <yhlu.kernel@gmail.com on behalf of yinghai@kernel.org> wrote:
>On Fri, Jun 26, 2015 at 4:31 PM, Steffen Persvold <sp@numascale.com> 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?
I can probably reproduce again and get full logs when I get run time on the system again, but hereâs some output that we saved in our internal Jira case :
[ 0.000000] NUMA: Initialized distance table, cnt=6
[ 0.000000] NUMA: Node 0 [mem 0x00000000-0x0009ffff] + [mem 0x00100000-0xd7ffffff] -> [mem 0x00000000-0xd7ffffff]
[ 0.000000] NUMA: Node 0 [mem 0x00000000-0xd7ffffff] + [mem 0x100000000-0x427ffffff] -> [mem 0x00000000-0x427ffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x407fe3000-0x407ffffff]
[ 0.000000] NODE_DATA(1) allocated [mem 0x807fe3000-0x807ffffff]
[ 0.000000] NODE_DATA(2) allocated [mem 0xc07fe3000-0xc07ffffff]
[ 0.000000] NODE_DATA(3) allocated [mem 0x1007fe3000-0x1007ffffff]
[ 0.000000] NODE_DATA(4) allocated [mem 0x1407fe3000-0x1407ffffff]
[ 0.000000] NODE_DATA(5) allocated [mem 0x1807fdd000-0x1807ff9fff]
[ 0.000000] [ffffea0000000000-ffffea00101fffff] PMD -> [ffff8803f8600000-ffff880407dfffff] on node 0
[ 0.000000] [ffffea0010a00000-ffffea00201fffff] PMD -> [ffff8807f8600000-ffff880807dfffff] on node 1
[ 0.000000] [ffffea0020a00000-ffffea00301fffff] PMD -> [ffff880bf8600000-ffff880c07dfffff] on node 2
[ 0.000000] [ffffea0030a00000-ffffea00401fffff] PMD -> [ffff880ff8600000-ffff881007dfffff] on node 3
[ 0.000000] [ffffea0040a00000-ffffea00501fffff] PMD -> [ffff8813f8600000-ffff881407dfffff] on node 4
[ 0.000000] [ffffea0050a00000-ffffea00601fffff] PMD -> [ffff8817f7e00000-ffff8818075fffff] on node 5
If I remember correctly there was a mix of 4GB and 8GB DIMMs populated on this system. In addition the firmware reserved 512MByte at the end of each memory controllers physical range (hence the reserved ranges in the e820 map).
Note: this was with 4.1.0 vanilla so it could be obsolete now with 4.2-rc. I have not yet tested with your latest patches that you and Tony discussed.
Cheers,
Steffen
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2015-08-28 7:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 23:31 Steffen Persvold
2015-08-28 5:20 ` Yinghai Lu
2015-08-28 6:42 ` Steffen Persvold [this message]
2015-08-28 15:57 ` Yinghai Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2F8F36EB-D2D8-4DCE-910C-C56FFCEED3BF@numascale.com \
--to=sp@numascale.com \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.org \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®