Re: [PATCH] Memory hot added,The memory can not been added to movable zone

From: Changsheng Liu
Date: Wed Aug 26 2015 - 03:53:21 EST




å 2015/8/26 14:12, Vlastimil Babka åé:
On 26.8.2015 2:36, Changsheng Liu wrote:

å 2015/8/25 19:13, Vlastimil Babka åé:
On 08/25/2015 12:25 PM, Changsheng Liu wrote:
Thanks very much for your review, I can move the memory from normal zone
to movable zone succesfully.
And thank you for let me understand the memory mechanism better.
å 2015/8/25 3:15, Yasuaki Ishimatsu åé:
So you agree to drop the patch from -mm?
The system add memory to normal zone defaultly so that it can be
used by kernel and then we can not move the memory to movable zone.
The patch can add the memory to movable zone directlly.
I thought that you confirmed that the following works?
echo online_movable > /sys/devices/system/memory/memoryXXX/state

If you want it to be the default, there's the node_movable kernel boot option.
Does it work for you?
.
It does not work when memory is hot added.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/