Re: [Lhms-devel] Re: [PATCH] register hot-added memory to iomem resource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Apr 2006 14:43:49 -0400
Vivek Goyal <[email protected]> wrote:

> On Fri, Apr 28, 2006 at 09:27:54AM +0900, KAMEZAWA Hiroyuki wrote:
> > > And how is kdump to know that memory was hot-added?  Do we generate a
> > > hotplug event?
> > > 
> > A user program has to make memory section online from sysfs , anyway.
> > 
> > The hotplug script for memory hotplug will run at memory hotplug event 
> > from ACPI. If a user uses /probe interface (powerpc, x86_64),
> > he knows what he does. 
> > 
> > hot-add -> online memory -> kexec_load() is a scenario I think of.
> > 
> 
> Did a quick search but can't locate a memory hotplug agent. Can you give
> some pointers.
> 
Sorry, I think there is no generic memory hotplug agent now.
I do it by hand or handmaid scripts.
(Just because our target, NUMA-node-hotplug, is now under construction.)

In theory, ACPI namespace notifier calls memory hotplug agent and it just does
%echo online > /sys/devices/system/memory/memoryXXX/state.

After this, new memory is available.
This page has a bit more information. http://lhms.sourceforge.net/

BTW, could you teach me pointers to kexec/kload tools ?

-Kame

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux