Linux ACPI
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: akpm@osdl.org, y-goto@jp.fujitsu.com, linux-acpi@vger.kernel.org,
	tony.luck@intel.com
Subject: Re: CONFIG_ACPI_HOTPLUG_MEMORY=m with x86_64 devel tree
Date: 23 Mar 2006 03:43:06 +0100
Date: Thu, 23 Mar 2006 03:43:06 +0100	[thread overview]
Message-ID: <20060323024306.GA90581@muc.de> (raw)
In-Reply-To: <20060323093609.8eb03249.kamezawa.hiroyu@jp.fujitsu.com>

On Thu, Mar 23, 2006 at 09:36:09AM +0900, KAMEZAWA Hiroyuki wrote:
> On 23 Mar 2006 01:07:59 +0100
> Andi Kleen <ak@muc.de> wrote:
> 
> > On Thu, Mar 23, 2006 at 08:27:32AM +0900, KAMEZAWA Hiroyuki wrote:
> > > On 22 Mar 2006 20:21:34 +0100
> > > Andi Kleen <ak@muc.de> wrote:
> > > 
> > > > > It includes add-new-zone/rebuild-zonelist...etc patches, which will be necessary
> > > > > also for x86_64, even if it's not NUMA. 
> > > > 
> > > > Hmm? x86_64 supports NUMA systems.
> > > > 
> > > Ah, I know.
> > > I wrote "even if.." just because we cannot reserve mem_map for not exisiting node.
> > 
> > Hmm actually I haven't tested it but in theory the reserve hotplug
> > code should just work if you list the new nodes already in SRAT as empty
> > hotplug PXMs.
> > 
> SRAT is required by Microsoft, then most of servers will equip it, I think.
> And SRAT just tells each cpu's/memory range's  a pxm.
> 
> But allocating memmap for SRAT entry has some problem in big system.
> 
> For example, our server (ia64/Fujitsu PrimeQuest) can equip memory from
> 4G to 1T(maybe 2T in future), and SRAT will *always* say  we have possible 1T memory.
> (Microsoft requires "write all possible memory in SRAT") 
> When we reserve memmap for possible 1T memory, Linux will not work well in minimum 4G

Don't do that.
The x86-64 kernel will preallocate memmaps when everything is enabled soon.
Ok that won't concern your IA64 machine immediately.


> > Ok there is no code yet to add hotplug cpus to specific nodes later
> > but that would be easy to add.
> > 
> We found hot-add-memory-less-node problem now. So, "cpu hot add to a new node"  
> will be supported later.

Again should be pretty easy.

-Andi

  reply	other threads:[~2006-03-23  2:43 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-22  6:23 CONFIG_ACPI_HOTPLUG_MEMORY=m with x86_64 devel tree Andrew Morton
2006-03-22 10:56 ` Yasunori Goto
2006-03-22 11:02   ` Andrew Morton
2006-03-22 11:32     ` KAMEZAWA Hiroyuki
2006-03-22 19:21       ` Andi Kleen
2006-03-22 23:27         ` KAMEZAWA Hiroyuki
2006-03-23  0:07           ` Andi Kleen
2006-03-23  0:36             ` KAMEZAWA Hiroyuki
2006-03-23  2:43               ` Andi Kleen [this message]
2006-03-23  2:55                 ` KAMEZAWA Hiroyuki
2006-03-23  3:22                 ` KAMEZAWA Hiroyuki
2006-03-23 15:37                   ` Andi Kleen
2006-03-23  3:59                 ` KAMEZAWA Hiroyuki
2006-03-30 13:41                   ` CONFIG_ACPI_HOTPLUG_MEMORY=m with x86_64 devel tree II Andi Kleen
2006-03-30 13:54                     ` KAMEZAWA Hiroyuki
2006-03-30 14:18                       ` Andi Kleen
2006-03-30 14:25                         ` KAMEZAWA Hiroyuki
2006-03-30 14:31                           ` Andi Kleen
2006-03-22 17:13 ` CONFIG_ACPI_HOTPLUG_MEMORY=m with x86_64 devel tree Andi Kleen
2006-03-22 19:23 ` 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=20060323024306.GA90581@muc.de \
    --to=ak@muc.de \
    --cc=akpm@osdl.org \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-acpi@vger.kernel.org \
    --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