public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH] ia64 node hotplug -- cpu - node relationship fix [0/2]
@ 2006-05-26  8:56 KAMEZAWA Hiroyuki
  2006-05-26  9:02 ` [RFC][PATCH] ia64 node hotplug -- cpu - node relationship fix [1/2] KAMEZAWA Hiroyuki
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: KAMEZAWA Hiroyuki @ 2006-05-26  8:56 UTC (permalink / raw)
  To: LKML; +Cc: y-goto, linux-ia64, ashok.raj, steiner, tony.luck

current -mm tree includes node-hotplug codes.

But by following reason , ia64's node-hotplug doesn't work well now.

Following patch will fix it. I'd like to post this patch against next -mm.
Feedbacks are welcome.

1. empty-node-fix : avoid creating empty node
   SRAT's enable bit just shows 'you can read this entry'. But the kernel know
   this and checks each entries are vaild or not later.

   But pxm_bit/node_online_mask is not treated as they should be.
   The kernel creates empty node, which has no cpu, no memory.

   Becasue of the empty node, node-hot-added will not create new NODE_DATA at
   hotadd event. It's already created at boot time as empty node.
   I'm now thinking of allocate NODE_DATA on local (hot-added) node. So,
   avoiding to allocate empty NODE_DATA (allocated on off-node) is necessary.

   My concern is whether there is a nice way to detect I/O only node at boot
   time or not. (if we need it) If someone shows it, I'll add it to my patch.

2. cpu-to-node fix: fix cpu-to-node mapping at cpu hotplug
   cpu hotplug on NUMA has to map cpu to its node. From its comment in the code,
   it expects the container hotplug will map pxm to correct node.
   But the container hotplug itself doesn't it now and acpi_map_pxm_to_node()
   is introduced.
   We also need to update node_to_cpu_mask[] and cpu_to_node_map[].

BTW, our team's node-hotplug considers (cpu + memory) hotplug by ACPI's container.
Does anyone has plan of cpu-only-node-hotplug or I/O-only-node-hotplug ?
If someone has, I'll develop memory-less-node hotplug, which just allocates
NODE_DATA of hot-added node.

-Kame


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-26 10:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26  8:56 [RFC][PATCH] ia64 node hotplug -- cpu - node relationship fix [0/2] KAMEZAWA Hiroyuki
2006-05-26  9:02 ` [RFC][PATCH] ia64 node hotplug -- cpu - node relationship fix [1/2] KAMEZAWA Hiroyuki
2006-05-26  9:05 ` [RFC][PATCH] ia64 node hotplug -- cpu - node relationship fix [2/2] KAMEZAWA Hiroyuki
2006-05-26  9:06 ` [RFC][PATCH] ia64 node hotplug -- cpu - node relationship fix KAMEZAWA Hiroyuki
2006-05-26 10:23 ` [RFC][PATCH] ia64 node hotplug -- cpu - node relationship fix [0/2] intro Yasunori Goto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox