Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-10 Thread Kamezawa Hiroyuki
(2013/01/10 17:36), Glauber Costa wrote: BTW, shrink_slab() is now node/zone aware ? If not, fixing that first will be better direction I guess. It is not upstream, but there are patches for this that I am already using in my private tree. Oh, I see. If it's merged, it's worth add "shrink_

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-10 Thread Kamezawa Hiroyuki
(2013/01/10 16:55), Glauber Costa wrote: On 01/10/2013 11:31 AM, Kamezawa Hiroyuki wrote: (2013/01/10 16:14), Glauber Costa wrote: On 01/10/2013 06:17 AM, Tang Chen wrote: Note: if the memory provided by the memory device is used by the kernel, it can't be offlined. It is not a bug.

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-09 Thread Kamezawa Hiroyuki
(2013/01/10 16:14), Glauber Costa wrote: On 01/10/2013 06:17 AM, Tang Chen wrote: Note: if the memory provided by the memory device is used by the kernel, it can't be offlined. It is not a bug. Right. But how often does this happen in testing? In other words, please provide an overall descri

Re: [PATCH v5 14/14] memory-hotplug: free node_data when a node is offlined

2013-01-06 Thread Kamezawa Hiroyuki
(2012/12/30 15:02), Wen Congyang wrote: > At 12/28/2012 08:28 AM, Kamezawa Hiroyuki Wrote: >> (2012/12/27 21:16), Wen Congyang wrote: >>> At 12/26/2012 11:55 AM, Kamezawa Hiroyuki Wrote: >>>> (2012/12/24 21:09), Tang Chen wrote: >>>>> From: Wen Congya

Re: [PATCH v5 14/14] memory-hotplug: free node_data when a node is offlined

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/27 21:16), Wen Congyang wrote: > At 12/26/2012 11:55 AM, Kamezawa Hiroyuki Wrote: >> (2012/12/24 21:09), Tang Chen wrote: >>> From: Wen Congyang >>> >>> We call hotadd_new_pgdat() to allocate memory to store node_data. So we >>> should free i

Re: [PATCH v5 14/14] memory-hotplug: free node_data when a node is offlined

2012-12-25 Thread Kamezawa Hiroyuki
(2012/12/24 21:09), Tang Chen wrote: > From: Wen Congyang > > We call hotadd_new_pgdat() to allocate memory to store node_data. So we > should free it when removing a node. > > Signed-off-by: Wen Congyang I'm sorry but is it safe to remove pgdat ? All zone cache and zonelists are properly clea

Re: [PATCH v5 07/14] memory-hotplug: move pgdat_resize_lock into sparse_remove_one_section()

2012-12-25 Thread Kamezawa Hiroyuki
FIX or -fix- in patch title will be appreciated, I think. Acked-by: KAMEZAWA Hiroyuki ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2012-12-25 Thread Kamezawa Hiroyuki
(2012/12/24 21:09), Tang Chen wrote: > From: Wen Congyang > > memory can't be offlined when CONFIG_MEMCG is selected. > For example: there is a memory device on node 1. The address range > is [1G, 1.5G). You will find 4 new directories memory8, memory9, memory10, > and memory11 under the director

Re: [PATCH v5 05/14] memory-hotplug: introduce new function arch_remove_memory() for removing page table depends on architecture

2012-12-25 Thread Kamezawa Hiroyuki
move_pages() for some archtecuture is not implemented >(I don't know how to implement it for s390). > > Signed-off-by: Wen Congyang Then, remove code will be symetric to add codes. Acked-by: KAMEZAWA Hiroyuki ___ Lin

Re: [PATCH v5 04/14] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2012-12-25 Thread Kamezawa Hiroyuki
(2012/12/24 21:09), Tang Chen wrote: > From: Yasuaki Ishimatsu > > When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} > sysfs files are created. But there is no code to remove these files. The patch > implements the function to remove them. > > Note: The code does not

Re: [PATCH v5 03/14] memory-hotplug: remove redundant codes

2012-12-25 Thread Kamezawa Hiroyuki
(2012/12/24 21:09), Tang Chen wrote: > From: Wen Congyang > > offlining memory blocks and checking whether memory blocks are offlined > are very similar. This patch introduces a new function to remove > redundant codes. > > Signed-off-by: Wen Congyang > --- > mm/memory_hotplug.c | 101 > +++

Re: [PATCH v5 02/14] memory-hotplug: check whether all memory blocks are offlined or not when removing memory

2012-12-25 Thread Kamezawa Hiroyuki
-by: Wen Congyang > Signed-off-by: Yasuaki Ishimatsu Acked-by: KAMEZAWA Hiroyuki a nitpick below. > --- > drivers/base/memory.c |6 + > include/linux/memory_hotplug.h |1 + > mm/memory_hotplug.c| 47 > +

Re: [patch 4/4] mm, oom: remove statically defined arch functions of same name

2012-11-15 Thread Kamezawa Hiroyuki
code up. Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Thomas Gleixner Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Paul Mundt Signed-off-by: David Rientjes I think this is good. Reviewed-by: KAMEZAWA Hiroyuki ___ Linuxppc-dev ma

Re: linux-next: build failure after merge of the final tree (Linus' tree related)

2011-06-16 Thread KAMEZAWA Hiroyuki
to > maybe something like the x86 version). It looks like the sparc version > is broken as well. > Sorry, here is a fix I posted today. but no ack yet. == >From 507cc95c5ba2351bff16c5421255d1395a3b555b Mon Sep 17 00:00:00 2001 From: KAMEZAWA Hiroyuki Date: Thu, 16 Jun 2011 1

Re: [linux-2.6.36-git7: Power7] LTP Memory CGROUP Controller functional test creates Backtrace, OOMKill & rcu_sched_state detected stall jiffies

2010-10-26 Thread KAMEZAWA Hiroyuki
On Tue, 26 Oct 2010 16:03:56 +0530 Subrata Modak wrote: > If you run LTP Memory CGROUP Controller functional test on > linux-2.6.36-git7, the following Backtrace, OOMKill & rcu_sched_state > detected stall jiffies are created. The machine is not reachable > thereafter. Ways to reproduce this prob

Re: [PATCH 2/9] v3 Add mutex for adding/removing memory blocks

2010-10-04 Thread KAMEZAWA Hiroyuki
Nathan Fontenot > Reviewed-By: KAMEZAWA Hiroyuki ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 1/9] v3 Move find_memory_block routine

2010-10-04 Thread KAMEZAWA Hiroyuki
On Fri, 01 Oct 2010 13:28:39 -0500 Nathan Fontenot wrote: > Move the find_memory_block() routine up to avoid needing a forward > declaration in subsequent patches. > > Signed-off-by: Nathan Fontenot > Reviewd-by: KAMEZAWA Hiroyuki _

Re: [PATCH 9/9] v3 Update memory hotplug documentation

2010-10-04 Thread KAMEZAWA Hiroyuki
On Fri, 01 Oct 2010 13:37:49 -0500 Nathan Fontenot wrote: > Update the memory hotplug documentation to reflect the new behaviors of > memory blocks reflected in sysfs. > > Signed-off-by: Nathan Fontenot > Reviewed-by: KAMEZAWA Hiroyuki Thank you for yo

Re: [PATCH 6/9] v3 Update node sysfs code

2010-10-04 Thread KAMEZAWA Hiroyuki
t; parameter to unregister_mem_sect_under_nodes so that we know which memory > section of the memory block to unregister. > > Signed-off-by: Nathan Fontenot Reviewed-by: KAMEZAWA Hiroyuki ___ Linuxppc-dev mailing list Linuxppc-dev@l

Re: [PATCH 5/9] v3 rename phys_index properties of memory block struct

2010-10-04 Thread KAMEZAWA Hiroyuki
th what is stored here, namely the first and last section number > that the memory block spans. > > The names presented to userspace remain the same, phys_index for > start_section_nr and end_phys_index for end_section_nr, to avoid breaking > anything in userspace. > > Signed-off-

Re: [PATCH 4/9] v3 Allow memory blocks to span multiple memory sections

2010-10-04 Thread KAMEZAWA Hiroyuki
routine. > This should be commented in code before MEMORY_BLOCK_SIZE declaration. > Signed-off-by: Nathan Fontenot > Reviewed-by: KAMEZAWA Hiroyuki ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 3/9] v3 Add section count to memory_block struct

2010-10-04 Thread KAMEZAWA Hiroyuki
has been > removed so we can remove the memory block. > > Signed-off-by: Nathan Fontenot > Reviewed-by: KAMEZAWA Hiroyuki a nitpick, > Index: linux-next/include/linux/memory.h > === > --- linux-next.orig/include/l

Re: [PATCH 9/9] v4 Update memory-hotplug documentation

2010-08-04 Thread KAMEZAWA Hiroyuki
On Tue, 03 Aug 2010 08:44:16 -0500 Nathan Fontenot wrote: > Update the memory hotplug documentation to reflect the new behaviors of > memory blocks reflected in sysfs. > > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki A request from me: Could you clarify what happ

Re: [PATCH 7/9] v4 Update the node sysfs code

2010-08-04 Thread KAMEZAWA Hiroyuki
; section of the memory block to unregister. > > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 6/9] v4 Update the find_memory_block declaration

2010-08-04 Thread KAMEZAWA Hiroyuki
On Tue, 03 Aug 2010 08:41:45 -0500 Nathan Fontenot wrote: > Update the find_memory_block declaration to to take a struct mem_section * > so that it matches the definition. > > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki Hmm...my mmotm-0727 has this definition

Re: [PATCH 5/9] v4 Allow memory_block to span multiple memory sections

2010-08-04 Thread KAMEZAWA Hiroyuki
> > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki (But maybe it's better to get ppc guy's Ack.) ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 4/9] v4 Add mutex for add/remove of memory blocks

2010-08-04 Thread KAMEZAWA Hiroyuki
enot Acked-by: KAMEZAWA Hiroyuki But a nitpick (see below) > --- > drivers/base/memory.c |9 + > 1 file changed, 9 insertions(+) > > Index: linux-2.6/drivers/base/memory.c > === > --- linux-2.6.

Re: [PATCH 3/9] v4 Add section count to memory_block

2010-08-04 Thread KAMEZAWA Hiroyuki
has been > removed so we can remove the memory block. > > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 2/9] v4 Add new phys_index properties

2010-08-04 Thread KAMEZAWA Hiroyuki
7; in sysfs but the memory_block > struct name is updated to indicate the start and end values. > This also adds an 'end_phys_index' property to indicate the id of the > last section in th memory block. > > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki nitp

Re: [PATCH 1/9] v4 Move the find_memory_block() routine up

2010-08-04 Thread KAMEZAWA Hiroyuki
On Tue, 03 Aug 2010 08:36:39 -0500 Nathan Fontenot wrote: > Move the find_memory_block() routine up to avoid needing a forward > declaration in subsequent patches. > > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki ___

Re: [PATCH 6/8] v3 Update the node sysfs code

2010-07-20 Thread KAMEZAWA Hiroyuki
; section of the memory block to unregister. > > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 5/8] v3 Update the find_memory_block declaration

2010-07-20 Thread KAMEZAWA Hiroyuki
On Mon, 19 Jul 2010 22:56:16 -0500 Nathan Fontenot wrote: > Update the find_memory_block declaration to to take a struct mem_section * > so that it matches the definition. > > Signed-off-by: Nathan Fontenot Reviewd-by: KAMEZ

Re: [PATCH 4/8] v3 Allow memory_block to span multiple memory sections

2010-07-20 Thread KAMEZAWA Hiroyuki
On Mon, 19 Jul 2010 22:55:08 -0500 Nathan Fontenot wrote: > Update the memory sysfs code that each sysfs memory directory is now > considered a memory block that can contain multiple memory sections per > memory block. The default size of each memory block is SECTION_SIZE_BITS > to maintain the

Re: [PATCH 3/8] v3 Add section count to memory_block

2010-07-20 Thread KAMEZAWA Hiroyuki
On Mon, 19 Jul 2010 22:53:58 -0500 Nathan Fontenot wrote: > Add a section count property to the memory_block struct to track the number > of memory sections that have been added/removed from a emory block. > > Signed-off-by: Nathan Fontenot > --- > drivers/base/memory.c | 19 ---

Re: [PATCH 2/8] v3 Add new phys_index properties

2010-07-20 Thread KAMEZAWA Hiroyuki
On Mon, 19 Jul 2010 22:52:50 -0500 Nathan Fontenot wrote: > Update the 'phys_index' properties of a memory block to include a > 'start_phys_index' which is the same as the current 'phys_index' property. > This also adds an 'end_phys_index' property to indicate the id of the > last section in th m

Re: [PATCH 1/8] v3 Move the find_memory_block() routine up

2010-07-20 Thread KAMEZAWA Hiroyuki
On Mon, 19 Jul 2010 22:51:42 -0500 Nathan Fontenot wrote: > Move the find_me mory_block() routine up to avoid needing a forward > declaration in subsequent patches. > > Signed-off-by: Nathan Fontenot Acked-by: KAMEZAWA Hiroyuki > --- > drivers/ba

Re: [PATCH 4/5] v2 Update sysfs node routines for new sysfs memory directories

2010-07-15 Thread KAMEZAWA Hiroyuki
On Thu, 15 Jul 2010 13:40:40 -0500 Nathan Fontenot wrote: > Update the node sysfs directory routines that create > links to the memory sysfs directories under each node. > This update makes the node code aware that a memory sysfs > directory can cover multiple memory sections. > > Signed-off-by:

Re: [PATCH 2/5] v2 Create new 'end_phys_index' file

2010-07-15 Thread KAMEZAWA Hiroyuki
On Thu, 15 Jul 2010 13:38:52 -0500 Nathan Fontenot wrote: > Add a new 'end_phys_index' file to each memory sysfs directory to > report the physical index of the last memory section > covered by the sysfs directory. > > Signed-off-by: Nathan Fontenot Does memory_block have to be contiguous betw

Re: [PATCH 1/5] v2 Split the memory_block structure

2010-07-15 Thread KAMEZAWA Hiroyuki
On Thu, 15 Jul 2010 13:37:51 -0500 Nathan Fontenot wrote: > Split the memory_block struct into a memory_block > struct to cover each sysfs directory and a new memory_block_section > struct for each memory section covered by the sysfs directory. > This change allows for creation of memory sysfs di

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-14 Thread KAMEZAWA Hiroyuki
On Wed, 14 Jul 2010 12:25:03 +0900 KAMEZAWA Hiroyuki wrote: > On Tue, 13 Jul 2010 22:18:03 -0500 > Nathan Fontenot wrote: > > > On 07/13/2010 07:35 PM, KAMEZAWA Hiroyuki wrote: > > > On Tue, 13 Jul 2010 10:51:58 -0500 > > > Nathan Fontenot wrote: > >

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-13 Thread KAMEZAWA Hiroyuki
On Tue, 13 Jul 2010 22:18:03 -0500 Nathan Fontenot wrote: > On 07/13/2010 07:35 PM, KAMEZAWA Hiroyuki wrote: > > On Tue, 13 Jul 2010 10:51:58 -0500 > > Nathan Fontenot wrote: > > > >>> > >>> And for what purpose this interface is ? Does this split m

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-13 Thread KAMEZAWA Hiroyuki
On Tue, 13 Jul 2010 10:51:58 -0500 Nathan Fontenot wrote: > > > > And for what purpose this interface is ? Does this split memory block into > > 2 pieces > > of the same size ?? sounds __very__ strange interface to me. > > Yes, this splits the memory_block into two blocks of the same size. Th

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-12 Thread KAMEZAWA Hiroyuki
On Mon, 12 Jul 2010 10:45:25 -0500 Nathan Fontenot wrote: > This patch introduces the new 'split' file in each memory sysfs > directory and the associated routines needed to handle splitting > a directory. > > Signed-off-by; Nathan Fontenot > --- pleae check diff option... > drivers/base/me

Re: [PATCH 3/7] Update the [register,unregister]_memory routines

2010-07-12 Thread KAMEZAWA Hiroyuki
On Mon, 12 Jul 2010 10:44:10 -0500 Nathan Fontenot wrote: > This patch moves the register/unregister_memory routines to > avoid a forward declaration. It also moves the sysfs file > creation and deletion for each directory into the register/ > unregister routines to avoid duplicating it with the

Re: [PATCH 1/7] Split the memory_block structure

2010-07-12 Thread KAMEZAWA Hiroyuki
plz cc linux-mm in the next time... And please incudes updates for Documentation/memory-hotplug.txt. On Mon, 12 Jul 2010 10:42:06 -0500 Nathan Fontenot wrote: > This patch splits the memory_block struct into a memory_block > struct to cover each sysfs directory and a new memory_block_section >

Re: 2.6.35-rc2 : OOPS with LTP memcg regression test run.

2010-06-10 Thread KAMEZAWA Hiroyuki
On Thu, 10 Jun 2010 22:00:57 +0200 Maciej Rutecki wrote: > I created a Bugzilla entry at > https://bugzilla.kernel.org/show_bug.cgi?id=16178 > for your bug report, please add your address to the CC list in there, thanks! > Hmm... It seems a panic in SLUB or SLAB. Is .config available ? -Kame

[BUGFIX][PATCH] memcg: avoid use cmpxchg in swap cgroup maintainance (Was Re: 34-rc1-git3 build failure with CGROUP_MEM_RES_CTLR_SWAP=y

2010-03-14 Thread KAMEZAWA Hiroyuki
. == swap_cgroup uses 2bytes data and uses cmpxchg in a new operation. 2byte cmpxchg/xchg is not available on some archs. This patch replaces cmpxchg/xchg with operations under lock. Signed-off-by: KAMEZAWA Hiroyuki --- mm/page_cgroup.c | 20 1 file changed, 16 ins

Re: [PATCH] nodmask.h: remove macro any_online_node

2010-01-06 Thread KAMEZAWA Hiroyuki
e node (the mask argument is either > NODE_MASK_ALL or node_online_map) just use the first_online_node > macro and remove the any_online_node macro since there are no users. > Reviewed-by: KAMEZAWA Hiroyuki Thank you. BTW, it's better to add diffstat to this kind of changes. Reg

Re: [PATCH 1/2][v2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-08 Thread KAMEZAWA Hiroyuki
On Fri, 2 Oct 2009 13:44:58 -0500 Robert Jennings wrote: > Memory balloon drivers can allocate a large amount of memory which > is not movable but could be freed to accomodate memory hotplug remove. > > Prior to calling the memory hotplug notifier chain the memory in the > pageblock is isolated.

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread KAMEZAWA Hiroyuki
On Tue, 19 Feb 2008 09:58:38 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > > when I inserted printk here > > == > > for (i = 0; i < nr; i++) > > func(ioc, cics[i]); > > printk("%d %lx\n", nr, index); > > == > > index was always "1" and nr was always 32. > > > > So, cics[31]->k

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread KAMEZAWA Hiroyuki
On Tue, 19 Feb 2008 09:36:34 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > > On Sun, 17 Feb 2008 20:29:13 +0100 > > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > It's odd stuff. Could you perh

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread KAMEZAWA Hiroyuki
On Tue, 19 Feb 2008 09:36:34 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > > On Sun, 17 Feb 2008 20:29:13 +0100 > > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > It's odd stuff. Could you perh

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread KAMEZAWA Hiroyuki
ics[]->key can be NULL. In that case, cics[]->dead_key has key value. Signed-off-by: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> Index: linux-2.6.25-rc2/block/cfq-iosched.c === --- linux-2.6.25-rc2.orig/block/cfq-iosc

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread KAMEZAWA Hiroyuki
On Wed, 31 Oct 2007 14:55:03 -0700 Dave Hansen <[EMAIL PROTECTED]> wrote: > On Wed, 2007-10-31 at 14:11 -0800, Badari Pulavarty wrote: > > > > Well, We don't need arch-specific remove_memory() for ia64 and ppc64. > > x86_64, I don't know. We will know, only when some one does the > > verification

Re: [RFC] hotplug memory remove - walk_memory_resource for ppc64

2007-10-31 Thread KAMEZAWA Hiroyuki
On Wed, 31 Oct 2007 08:02:40 -0800 Badari Pulavarty <[EMAIL PROTECTED]> wrote: > Paul's concern is, since we didn't need it so far - why we need this > for hotplug memory remove to work ? It might break API for *unknown* > applications. Its unfortunate that, hotplug memory add updates > /proc/iome

Re: [RFC] hotplug memory remove - walk_memory_resource for ppc64

2007-10-30 Thread KAMEZAWA Hiroyuki
On Wed, 31 Oct 2007 14:28:46 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > ioresource was good structure for remembering "which memory is conventional > memory" and i386/x86_64/ia64 registered conventional memory as "System RAM", > when I posted patch

Re: [RFC] hotplug memory remove - walk_memory_resource for ppc64

2007-10-30 Thread KAMEZAWA Hiroyuki
On Tue, 30 Oct 2007 11:19:11 -0800 Badari Pulavarty <[EMAIL PROTECTED]> wrote: > Hi KAME, > > As I mentioned while ago, ppc64 does not export information about > "system RAM" in /proc/iomem. Looking at the code and usage > scenerios I am not sure what its really serving. Could you > explain what

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

2007-10-03 Thread KAMEZAWA Hiroyuki
On Wed, 03 Oct 2007 08:35:35 -0700 Badari Pulavarty <[EMAIL PROTECTED]> wrote: > 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 th

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

2007-10-02 Thread KAMEZAWA Hiroyuki
On Tue, 02 Oct 2007 16:10:53 -0700 Badari Pulavarty <[EMAIL PROTECTED]> wrote: > > > Otherwise, we need to add arch-specific hooks in hotplug-remove > > > code to be able to do this. > > > > Isn't it just a matter of abstracting the test for a valid range of > > memory? If it's really hard to abs