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: Wednesday, July 14, 2010 - 10:16 am

On 07/13/2010 10:26 PM, Dave Hansen wrote:

I agree with Dave, I don't think another memory hotplug interface is needed.

I am working to update the patchset to remove the split functionality and
fix other items commented on.  this new patch will just split the memory_block
structure so that a memory_block can span multiple memory sections.

Kame, I understand that offlining 16 MB is easier than 256 MB.  From the ppc
perspective though, we are still offlining 256 MB.  We do memory add/remove
on LMB size chunks, so we have to add/remove all of the memory sections contained
in an LMB.  If any one memory section covered by a LMB fails to add/remove, we
restore the memory sections to their orignal state an fail the add/remove operation.
NOTE: the code doing this is not in the kernel, but in the user-space drmgr
command (from powerpc-utils package).

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