mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC:PATCH(000/003)] Memory add to onlined node. (ver. 2)
@ 2006-02-09  7:05 Yasunori Goto
  0 siblings, 0 replies; only message in thread
From: Yasunori Goto @ 2006-02-09  7:05 UTC (permalink / raw)
  To: Andi Kleen, Luck, Tony, Brown, Len, Tolentino, Matthew E,
	naveen.b.s, Bjorn Helgaas
  Cc: ACPI-ML, Linux Kernel ML, linux-ia64, x86-64 Discuss,
	Linux Hotplug Memory Support

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 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-09  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09  7:05 [RFC:PATCH(000/003)] Memory add to onlined node. (ver. 2) Yasunori Goto

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®