Thread (17 messages) 17 messages, 4 authors, 2007-10-31

Re: [RFC] PPC64 Exporting memory information through /proc/iomem

From: Badari Pulavarty <hidden>
Date: 2007-10-03 16:37:09
Also in: linux-mm

On Thu, 2007-10-04 at 01:25 +0900, KAMEZAWA Hiroyuki wrote:
On Wed, 03 Oct 2007 08:35:35 -0700
Badari Pulavarty [off-list ref] wrote:
quoted
On Wed, 2007-10-03 at 10:19 +0900, KAMEZAWA Hiroyuki wrote:
CONFIG_ARCH_HAS_VALID_MEMORY_RANGE. Then define own
find_next_system_ram() (rename to is_valid_memory_range()) - which
checks the given range is a valid memory range for memory-remove
or not. What do you think ?
My concern is...
Now, memory hot *add* makes use of resource(/proc/iomem) information for onlining
memory.(See add_memory()->register_memory_resource() in mm/memoryhotplug.c)
So, we'll have to consider changing it if we need.

Does PPC64 memory hot add registers new memory information to arch dependent
information list ? It seems ppc64 registers hot-added memory information from
*probe* file and registers it by add_memory()->register_memory_resource().
Yes. Thats what I realized after looking at the code. 
I have been concentrating on memory remove, never care about "add" :(
Let me take a closer look at "add" support for ppc.

Thanks,
Badari
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help