在 2013年9月27日星期五,Ingo Molnar 写道:
* Zhang Yanfei <zhangyanfei.yes@xxxxxxxxx> wrote:
> OK. Trying below:
>
> movablenode [KNL,X86] This option enables the kernel to arrange
> hotpluggable memory into ZONE_MOVABLE zone. If memory
> in a node is all hotpluggable, the option may make
> the whole node has only one ZONE_MOVABLE zone, so that
> the whole node can be hot-removed after system is up.
> Note that this option may cause NUMA performance down.
That paragraph doesn't really parse in several places ...
Sorry…could you point out the places a bit?
Also, more importantly, please explain why this needs to be a boot option.
In terms of user friendliness boot options are at the bottom of the list,
and boot options also don't really help feature tests.
Presumably the feature is safe and has no costs, and hence could be added
as a regular .config option, with a boot option only as an additional
configurability option?
Yeah, the kernel already has config MOVABLE_NODE, which is the config enabing this feature, and we introduce this boot option to expand the configurability.
Thanks.
Zhang
Thanks,
Ingo