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? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/