public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Yasunori Goto <y-goto@jp.fujitsu.com>
To: Andi Kleen <ak@suse.de>, "Luck, Tony" <tony.luck@intel.com>,
	"Brown, Len" <len.brown@intel.com>,
	"Tolentino, Matthew E" <matthew.e.tolentino@intel.com>,
	naveen.b.s@intel.com, Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: ACPI-ML <linux-acpi@vger.kernel.org>,
	Linux Kernel ML <linux-kernel@vger.kernel.org>,
	linux-ia64@vger.kernel.org, x86-64 Discuss <discuss@x86-64.org>,
	Linux Hotplug Memory Support <lhms-devel@lists.sourceforge.net>
Subject: [RFC:PATCH(000/003)] Memory add to onlined node. (ver. 2)
Date: Thu, 09 Feb 2006 07:05:46 +0000	[thread overview]
Message-ID: <20060209153539.6CEE.Y-GOTO@jp.fujitsu.com> (raw)
In-Reply-To: <20060206221815.0605.Y-GOTO@jp.fujitsu.com>

Hello.

I updated patches for memory hot-add.
Current code allow addition to just node 0.
By this patch, the new memory is able to be added to appropriate node,
- if the node is already online.-  If the node is offline, 
(It means new node is comming!)  then the memory will belongs
to node 0 yet.

If new memory belongs to new node, new pgdat must be initialized.
But, it still need more many steps. So, I would like to propose
this small steps for a while.

This patch is use acpi's DSDT to find node id from physicall address.
So, this patch is just for intel/AMD architecture.

I tested this patch on ia64 and x86-64 box with custermized  SRAT & DSDT
node emulation.

This patch is for 2.6.16-rc2-mm1. 

Please comment.

Change log from ver.1 is
  - The parameter of size of add_memory() was changed from (_MAX - _MIN + 1)
    to _LEN by Bjorn Helgaas-san.
    To compare physical memory and DSDT at
    acpi_memory_match_paddr_to_memdevice(), using MAX-MIN +1 was changed 
    to using length.
  - change from using acpi_map_pxm_to_node() to pxm_to_node().
    acpi_map_pxm_to_node() is useful to decide new node's id
    when new node can be added, but it is not appropriate for 
    current code.
  - Remove extra \n from ACPI_TRACE_FUNCTION().
  - Update for 2.6.16-rc2-mm1.
  - Tested on x86_64 box with SRAT & DSDT emulation.

Please comment.
-- 
Yasunori Goto 



      reply	other threads:[~2006-02-09  7:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-06 13:37 [RFC:PATCH(000/003)] Memory add to onlined node Yasunori Goto
2006-02-09  7:05 ` Yasunori Goto [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=20060209153539.6CEE.Y-GOTO@jp.fujitsu.com \
    --to=y-goto@jp.fujitsu.com \
    --cc=ak@suse.de \
    --cc=bjorn.helgaas@hp.com \
    --cc=discuss@x86-64.org \
    --cc=len.brown@intel.com \
    --cc=lhms-devel@lists.sourceforge.net \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew.e.tolentino@intel.com \
    --cc=naveen.b.s@intel.com \
    --cc=tony.luck@intel.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