From e8db8674855634dadd90adaadd4381f70c7227ed Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Thu, 26 Oct 2017 15:34:05 +0530 Subject: [PATCH] Change ENABLE_KSM to $ENABLE_KSM * Since ENABLE_KSM param will be used in local.conf file and it's value is received in a variable and while compairing, the variable needs to be compared. So we need to change the same. Change-Id: Id4ed17c0642acd2313e456503cfc375ca6f61409 Closes-Bug: #1724690 --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index c545c56de3..f14ed96b9b 100755 --- a/stack.sh +++ b/stack.sh @@ -1006,7 +1006,7 @@ save_stackenv $LINENO # be memory bound not cpu bound so enable KSM by default but allow people # to opt out if the CPU time is more important to them. -if [[ "ENABLE_KSM" == "True" ]] ; then +if [[ $ENABLE_KSM == "True" ]] ; then if [[ -f /sys/kernel/mm/ksm/run ]] ; then sudo sh -c "echo 1 > /sys/kernel/mm/ksm/run" fi