Re: [PATCH v3 4/4] document: change the document for immovable_mem
From: Randy Dunlap
Date: Tue Dec 05 2017 - 12:36:37 EST
On 12/05/2017 12:52 AM, Chao Fan wrote:
> Add the document for the change of new parameter
> immovable_mem=nn[KMG]@ss[KMG].
>
> Cc: linux-doc@xxxxxxxxxxxxxxx
> Cc: Jonathan Corbet <corbet@xxxxxxx>
> Signed-off-by: Chao Fan <fanc.fnst@xxxxxxxxxxxxxx>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index b74e13312fdc..eea755af697f 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -2355,6 +2355,15 @@
> allocations which rules out almost all kernel
> allocations. Use with caution!
>
> + immovable_mem=nn[KMG]@ss[KMG]
immovable_mem=nn[KMG][@ss[KMG]]
> + [KNL] Force usage of a specific region of memory.
> + Make memory hotplug work well with KASLR.
^^only one space, please
> + Region of memory in immovable node is from ss to ss+nn.> + Multiple regions can be specified, comma delimited.
If ss is omitted, it defaults to 0.
> + Notice: we support 4 regions at most now.
> + Example:
> + immovable_mem=1G,500M@2G,1G@4G
> +
> MTD_Partition= [MTD]
> Format: <name>,<region-number>,<size>,<offset>
>
>
--
~Randy