diff mbox series

doc: update params of memhp_default_state=

Message ID 20230802074312.2111074-1-mawupeng1@huawei.com (mailing list archive)
State New
Headers show
Series doc: update params of memhp_default_state= | expand

Commit Message

mawupeng Aug. 2, 2023, 7:43 a.m. UTC
From: Ma Wupeng <mawupeng1@huawei.com>

Commit 5f47adf762b7 ("mm/memory_hotplug: allow to specify a default
online_type") allows to specify a default online_type which make
online memory to kernel or movable zone possible but fail to update
to doc. Update doc to fit this change.

Signed-off-by: Ma Wupeng <mawupeng1@huawei.com>
---
 Documentation/admin-guide/kernel-parameters.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Hildenbrand Aug. 2, 2023, 7:59 a.m. UTC | #1
On 02.08.23 09:43, Wupeng Ma wrote:
> From: Ma Wupeng <mawupeng1@huawei.com>
> 
> Commit 5f47adf762b7 ("mm/memory_hotplug: allow to specify a default
> online_type") allows to specify a default online_type which make
> online memory to kernel or movable zone possible but fail to update
> to doc. Update doc to fit this change.
> 
> Signed-off-by: Ma Wupeng <mawupeng1@huawei.com>
> ---
>   Documentation/admin-guide/kernel-parameters.txt | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index a1457995fd41..09bad9c62f41 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -3105,7 +3105,7 @@
>   			[KNL,SH] Allow user to override the default size for
>   			per-device physically contiguous DMA buffers.
>   
> -	memhp_default_state=online/offline
> +	memhp_default_state=online/offline/online_kernel/online_movable
>   			[KNL] Set the initial state for the memory hotplug
>   			onlining policy. If not specified, the default value is
>   			set according to the

Reviewed-by: David Hildenbrand <david@redhat.com>
Jonathan Corbet Aug. 11, 2023, 8:31 p.m. UTC | #2
Wupeng Ma <mawupeng1@huawei.com> writes:

> From: Ma Wupeng <mawupeng1@huawei.com>
>
> Commit 5f47adf762b7 ("mm/memory_hotplug: allow to specify a default
> online_type") allows to specify a default online_type which make
> online memory to kernel or movable zone possible but fail to update
> to doc. Update doc to fit this change.
>
> Signed-off-by: Ma Wupeng <mawupeng1@huawei.com>
> ---
>  Documentation/admin-guide/kernel-parameters.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index a1457995fd41..09bad9c62f41 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -3105,7 +3105,7 @@
>  			[KNL,SH] Allow user to override the default size for
>  			per-device physically contiguous DMA buffers.
>  
> -	memhp_default_state=online/offline
> +	memhp_default_state=online/offline/online_kernel/online_movable
>  			[KNL] Set the initial state for the memory hotplug

Applied, thanks.

jon
diff mbox series

Patch

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index a1457995fd41..09bad9c62f41 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3105,7 +3105,7 @@ 
 			[KNL,SH] Allow user to override the default size for
 			per-device physically contiguous DMA buffers.
 
-	memhp_default_state=online/offline
+	memhp_default_state=online/offline/online_kernel/online_movable
 			[KNL] Set the initial state for the memory hotplug
 			onlining policy. If not specified, the default value is
 			set according to the