From: Dave Hansen <haveblue@us.ibm.com>
To: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Andrew Morton <akpm@osdl.org>, "Luck, Tony" <tony.luck@intel.com>,
Andi Kleen <ak@suse.de>,
"Tolentino, Matthew E" <matthew.e.tolentino@intel.com>,
Joel Schopp <jschopp@austin.ibm.com>,
linux-ia64@vger.kernel.org,
Linux Kernel ML <linux-kernel@vger.kernel.org>,
x86-64 Discuss <discuss@x86-64.org>
Subject: Re: [PATCH: 004/012] Memory hotplug for new nodes v.2. (pgdat
Date: Fri, 17 Feb 2006 15:52:37 +0000 [thread overview]
Message-ID: <1140191557.21383.79.camel@localhost.localdomain> (raw)
In-Reply-To: <20060217211436.4070.Y-GOTO@jp.fujitsu.com>
On Fri, 2006-02-17 at 22:28 +0900, Yasunori Goto wrote:
>
> + if (node < 0)
> + node = 0; /* pxm is undefined in DSDT.
> + This might be non NUMA case */
> +
> + if (!node_online(node)){
> + ret = new_pgdat_init(node, start_pfn, nr_pages);
> + if (ret)
> + return ret;
> +
> + new_pgdat = 1;
> + }
> + pgdat = NODE_DATA(node);
Now that I've seen this exact code copy-and-pasted into two different
architectures, it begs the question: do we need a common function here?
-- Dave
prev parent reply other threads:[~2006-02-17 15:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-17 13:28 [PATCH: 004/012] Memory hotplug for new nodes v.2. (pgdat alloc caller for ia64) Yasunori Goto
2006-02-17 15:52 ` Dave Hansen [this message]
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=1140191557.21383.79.camel@localhost.localdomain \
--to=haveblue@us.ibm.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=discuss@x86-64.org \
--cc=jschopp@austin.ibm.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.e.tolentino@intel.com \
--cc=tony.luck@intel.com \
--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