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

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Thu Aug 5 14:55:31 EST 2010


On Tue, 03 Aug 2010 08:40:49 -0500
Nathan Fontenot <nfont at austin.ibm.com> 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 current behavior of having a single memory section per
> memory block (i.e. one sysfs directory per memory section).
> 
> For architectures that want to have memory blocks span multiple
> memory sections they need only define their own memory_block_size_bytes()
> routine.
> 
> Signed-off-by: Nathan Fontenot <nfont at austin.ibm.com>

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
(But maybe it's better to get ppc guy's Ack.)




More information about the Linuxppc-dev mailing list