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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nathan Fontenot
Date: Tuesday, July 13, 2010 - 8:18 pm

On 07/13/2010 07:35 PM, KAMEZAWA Hiroyuki wrote:

I posted a patch to do that a week or so ago, it didn't go over very well.


ppc would still require the existance of the 'probe' interface.

Are you objecting to the 'split' functionality?  If so I do not see any reason from ppc
perspective that it is needed.  This was something Dave suggested, unless I am missing
something.

Since ppc needs the 'probe' interface in sysfs, and for ppc having mutliple 
memory_block_sections reside under a single memory_block makes memory hotplug
simpler.  On ppc we do emory hotplug operations on an LMB size basis.  With my
patches this now lets us set each memory_block to span an LMB's worth of
memory.  Now we could do emory hotplug in a single operation instead of multiple
operations to offline/online all of the memory sections in an LMB.

Of course the easy solution would be to increase SECTION_SIZE_BITS, but we need
support hardware that can have LMB's from 16 MB to 256 MB in size so the
SECTION_SIZE_BITS value has to remain small. 


Me neither, thoug I will take a look at it.

-Nathan

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/7] Split the memory_block structure, Nathan Fontenot, (Mon Jul 12, 8:42 am)
[PATCH 2/7] Create the new 'end_phys_index' file, Nathan Fontenot, (Mon Jul 12, 8:43 am)
[PATCH 3/7] Update the [register,unregister]_memory routines, Nathan Fontenot, (Mon Jul 12, 8:44 am)
[PATCH 4/7] Allow sysfs memory directories to be split, Nathan Fontenot, (Mon Jul 12, 8:45 am)
[PATCH 5/7] update the mutex name in the memory_block struct, Nathan Fontenot, (Mon Jul 12, 8:46 am)
Re: [PATCH 1/7] Split the memory_block structure, KAMEZAWA Hiroyuki, (Mon Jul 12, 11:18 pm)
Re: [PATCH 3/7] Update the [register,unregister]_memory ro ..., KAMEZAWA Hiroyuki, (Mon Jul 12, 11:20 pm)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, KAMEZAWA Hiroyuki, (Mon Jul 12, 11:28 pm)
Re: [PATCH 1/7] Split the memory_block structure, Brian King, (Tue Jul 13, 7:00 am)
Re: [PATCH 1/7] Split the memory_block structure, Nathan Fontenot, (Tue Jul 13, 8:44 am)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, Nathan Fontenot, (Tue Jul 13, 8:51 am)
Re: [PATCH 1/7] Split the memory_block structure, Nathan Fontenot, (Tue Jul 13, 8:59 am)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, KAMEZAWA Hiroyuki, (Tue Jul 13, 5:35 pm)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, Nathan Fontenot, (Tue Jul 13, 8:18 pm)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, KAMEZAWA Hiroyuki, (Tue Jul 13, 8:25 pm)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, KAMEZAWA Hiroyuki, (Wed Jul 14, 1:30 am)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, Nathan Fontenot, (Wed Jul 14, 10:16 am)