[PATCH] kdumpctl: Remove slub_debug from cmdline
Baoquan He
bhe at redhat.com
Fri Aug 21 11:10:14 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`
The patch looks good to me, ack it.
Acked-by: Baoquan He <bhe at redhat.com>
Thanks
Baoquan
More information about the kexec
mailing list