summaryrefslogtreecommitdiff
path: root/kernel/liveupdate
diff options
context:
space:
mode:
authorPratyush Yadav (Google) <pratyush@kernel.org>2026-09-22 06:13:16 +0200
committerMike Rapoport <rppt@kernel.org>2026-10-09 18:13:27 +0200
commit10823ced2f18bd6779959744fb13e5974ca75a6a (patch)
treef2cdd8a5c523495df470c2bebeada3947e13a066 /kernel/liveupdate
parent8ebd2eb87f50b7bdd5a87929da320514ca91726f (diff)
kho: rename kho_scratch= commandline parameter to kho_bootmem=
KHO now no longer uses "scratch" to describe the memory areas passed by previous kernel. Instead, it calls them boot memory, or bootmem in short. Rename the kho_scratch= commandline parameter to reflect this terminology change. Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org> Link: https://patch.msgid.link/20260922041321.233986-5-pratyush@kernel.org Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'kernel/liveupdate')
-rw-r--r--kernel/liveupdate/kexec_handover.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/liveupdate/kexec_handover.c b/kernel/liveupdate/kexec_handover.c
index fe4b76ff5a2c..7018e25e4eda 100644
--- a/kernel/liveupdate/kexec_handover.c
+++ b/kernel/liveupdate/kexec_handover.c
@@ -671,12 +671,12 @@ unsigned int kho_bootmem_cnt;
* The bootmem areas are scaled by default as percent of memory allocated from
* memblock. A user can override the scale with command line parameter:
*
- * kho_scratch=N%
+ * kho_bootmem=N%
*
* It is also possible to explicitly define size for a lowmem, a global and
* per-node bootmem areas:
*
- * kho_scratch=l[KMG],n[KMG],m[KMG]
+ * kho_bootmem=l[KMG],n[KMG],m[KMG]
*
* The explicit size definition takes precedence over scale definition.
*/
@@ -751,7 +751,7 @@ static int __init kho_parse_bootmem_size(char *p)
return 0;
}
-early_param("kho_scratch", kho_parse_bootmem_size);
+early_param("kho_bootmem", kho_parse_bootmem_size);
static void __init bootmem_size_update(void)
{