[lkml]   [2010]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework
On Thu, 26 Aug 2010 02:58:57 +0200, KAMEZAWA Hiroyuki <> wrote:
> Hmm, you may not like this..but how about following kind of interface ?
> Now, memoyr hotplug supports following operation to free and _isolate_
> memory region.
> # echo offline > /sys/devices/system/memory/memoryX/state
> Then, a region of memory will be isolated. (This succeeds if there are free
> memory.)
> Add a new interface.
> % echo offline > /sys/devices/system/memory/memoryX/state
> # extract memory from System RAM and make them invisible from buddy allocator.
> % echo cma > /sys/devices/system/memory/memoryX/state
> # move invisible memory to cma.

At this point I need to say that I have no experience with hotplug memory but
I think that for this to make sense the regions of memory would have to be
smaller. Unless I'm misunderstanding something, the above would convert
a region of sizes in order of GiBs to use for CMA.

Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2010-08-26 04:15    [W:0.109 / U:0.476 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site