All of lore.kernel.org
 help / color / mirror / Atom feed
* Proposal to realize hot-add *several sections one time*
@ 2014-06-11  9:12 ` Zhang Zhen
  0 siblings, 0 replies; 14+ messages in thread
From: Zhang Zhen @ 2014-06-11  9:12 UTC (permalink / raw)
  To: gregkh, laijs, sjenning; +Cc: linux-kernel, linux-mm, Wang Nan

Hi,

Now we can hot-add memory by

% echo start_address_of_new_memory > /sys/devices/system/memory/probe

Then, [start_address_of_new_memory, start_address_of_new_memory +
memory_block_size] memory range is hot-added.

But we can only hot-add *one section one time* by this way.
Whether we can add an argument on behalf of the count of the sections to add ?
So we can can hot-add *several sections one time*. Just like:

% echo start_address_of_new_memory count_of_sections > /sys/devices/system/memory/probe

Then, [start_address_of_new_memory, start_address_of_new_memory +
count_of_sections * memory_block_size] memory range is hot-added.

If this proposal is reasonable, i will send a patch to realize it.

Any suggestions ?

Best regards.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-06-13  7:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-11  9:12 Proposal to realize hot-add *several sections one time* Zhang Zhen
2014-06-11  9:12 ` Zhang Zhen
2014-06-11 22:08 ` David Rientjes
2014-06-11 22:08   ` David Rientjes
2014-06-11 22:15   ` [patch] mm, hotplug: probe interface is available on several platforms David Rientjes
2014-06-11 22:15     ` David Rientjes
2014-06-11 22:22     ` Dave Hansen
2014-06-11 22:22       ` Dave Hansen
2014-06-12  2:41   ` Proposal to realize hot-add *several sections one time* Zhang Zhen
2014-06-12  2:41     ` Zhang Zhen
2014-06-12  7:07     ` David Rientjes
2014-06-12  7:07       ` David Rientjes
2014-06-13  7:31       ` Zhang Zhen
2014-06-13  7:31         ` Zhang Zhen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.