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:
parent
0c5372e80b
commit
088c2b2a14
2
kdumpctl
2
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}"
|
||||
|
Loading…
Reference in New Issue
Block a user