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 Thu, 27 Apr 2006 16:01:30 -0700
Andrew Morton <[email protected]> wrote:

> KAMEZAWA Hiroyuki <[email protected]> wrote:
> >
> > This patch registers hot-added memory to iomem_resource.
> > By this, /proc/iomem can show hot-added memory.
> > This patch is against 2.6.17-rc2-mm1.
> > 
> > Note: kdump uses /proc/iomem to catch memory range when it is installed.
> >       So, kdump should be re-installed after /proc/iomem change.
> > 
> 
> What do you mean by "kdump should be reinstalled"?  The kdump userspace
> tools need to re-run kexec_load()?
> 
yes. I heard an admin has to re-run kexec_load.
- http://www.uwsg.indiana.edu/hypermail/linux/kernel/0604.0/0821.html
- http://www.uwsg.indiana.edu/hypermail/linux/kernel/0604.0/0829.html
Added CC to [email protected], [email protected]

> If so, why?
> 
It reads physical memory list from /proc/iomem now.
The physical memory list is read and saved at kdump kernel loading time
instead of crashing time. 

> 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.

Thanks,
-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