From c67a836cde781fecc8b785128132f4c8c2fd0190 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Tue, 25 Jan 2022 16:16:58 +0800 Subject: [PATCH] remove the upper bound of 102400T for the range in default crashkernel This patch makes the default crashkernel value consistent with previous one. Fixes: 105c016 ("factor out kdump_get_arch_recommend_crashkernel") Signed-off-by: Coiby Xu Reviewed-by: Philipp Rudo --- kdump-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdump-lib.sh b/kdump-lib.sh index 3256581..c6bdd2e 100755 --- a/kdump-lib.sh +++ b/kdump-lib.sh @@ -857,7 +857,6 @@ kdump_get_arch_recommend_crashkernel() fi fi - _ck_cmdline=${_ck_cmdline//-:/-102400T:} echo -n "$_ck_cmdline" } @@ -873,6 +872,7 @@ kdump_get_arch_recommend_size() fi sys_mem=$(get_system_size) _ck_cmdline=$(kdump_get_arch_recommend_crashkernel) + _ck_cmdline=${_ck_cmdline//-:/-102400T:} get_recommend_size "$sys_mem" "$ck_cmdline" }