[PATCH 4/9] v3 Allow memory blocks to span multiple memory sections
Robin Holt
holt at sgi.com
Sat Oct 2 05:20:25 EST 2010
On Fri, Oct 01, 2010 at 02:00:50PM -0500, Nathan Fontenot wrote:
> Update the memory sysfs code such that each sysfs memory directory is now
> considered a memory block that can span 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>
Reviewed-by: Robin Holt <holt at sgi.com>
More information about the Linuxppc-dev
mailing list