From: Luming Yu <luming.yu@gmail.com>
To: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [RFC patch] delete improper hot pluggable code of memory affinity
Date: Fri, 17 Jul 2009 14:03:18 +0800 [thread overview]
Message-ID: <3877989d0907162303k26bfd293n2edb39c8206f8be8@mail.gmail.com> (raw)
In-Reply-To: <20090717143818.38B7.E1E9C6FF@jp.fujitsu.com>
On Fri, Jul 17, 2009 at 1:52 PM, Yasunori Goto<y-goto@jp.fujitsu.com> wrote:
>> Without a fix like my proposal, I have seen NUMA configure disabled by
>> kernel (due to the code the patch deletes) on a system with Enabled
>> bit set , and Hotplug-able bit cleared, and
>> CONFIG_MEMORY_HOTPLUG_SPARSE disabled.
>
> Ok. I guess that save_add_info() was to check percentage of
> reserve area when CONFIG_MEMORY_HOTPLUG_RESERVE is set.
> Its code was removed at 2.6.25, save_add_info() may be garbage now.
>
> However, I have one question now.
>
>>> - if (ma->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE) {
>>> - update_nodes_add(node, start, end);
>>> - /* restore nodes[node] */
>>> - *nd = oldnode;
>>> - if ((nd->start | nd->end) == 0)
>>> - node_clear(node, nodes_parsed);
>>> - }
>
> I don't understand why you remove this code. could you tell me why?
Good question. This is exactly the place I'm puzzled too.
Without delete this code, I still see one fake node instead of 4 real node...
I think a flow up patch is needed here...
next prev parent reply other threads:[~2009-07-17 6:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 9:18 Luming Yu
2009-07-17 5:16 ` Yasunori Goto
2009-07-17 5:33 ` Luming Yu
2009-07-17 5:52 ` Yasunori Goto
2009-07-17 6:03 ` Luming Yu [this message]
2009-07-17 6:20 ` Yasunori Goto
2009-07-20 7:42 ` Andi Kleen
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=3877989d0907162303k26bfd293n2edb39c8206f8be8@mail.gmail.com \
--to=luming.yu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=y-goto@jp.fujitsu.com \
/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®