kdumpctl: Remove slub_debug from cmdline

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@redhat.com>
This commit is contained in:
Dangyi Liu 2015-08-21 16:00:21 +08:00 committed by Dave Young
parent 0c5372e80b
commit 088c2b2a14

View File

@ -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}"