[PATCH] kdumpctl: Remove slub_debug from cmdline

Dave Young dyoung at redhat.com
Mon Aug 24 02:01:35 UTC 2015


On 08/21/15 at 04:00pm, Dangyi Liu wrote:
> slub_debug parameter enables debug for slub, making each object take
> more memory than normal. During a typical kdump, "slub_debug=FZPU" will
> cost about 33MB additional memory. If users really want to enable this
> parameter, they should specify it in KDUMP_COMMANDLINE_APPEND.
> 
> Signed-off-by: Dangyi Liu <dliu at redhat.com>
> ---
>  kdumpctl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kdumpctl b/kdumpctl
> index eaf7f67..9f7e56b 100755
> --- a/kdumpctl
> +++ b/kdumpctl
> @@ -105,7 +105,7 @@ prepare_cmdline()
>  	else
>  		cmdline=${KDUMP_COMMANDLINE}
>  	fi
> -	cmdline=`remove_cmdline_param "$cmdline" crashkernel hugepages hugepagesz panic_on_warn`
> +	cmdline=`remove_cmdline_param "$cmdline" crashkernel hugepages hugepagesz panic_on_warn slub_debug`
>  
>  
>  	cmdline="${cmdline} ${KDUMP_COMMANDLINE_APPEND}"
> -- 
> 2.4.3
> 
> _______________________________________________
> kexec mailing list
> kexec at lists.fedoraproject.org
> https://lists.fedoraproject.org/mailman/listinfo/kexec
> 
> 

Good catch, ACK.

Thanks
Dave


More information about the kexec mailing list