Browse code

Merge "Change ENABLE_KSM to $ENABLE_KSM"

Zuul authored on 2017/10/27 17:28:49
Showing 1 changed files
... ...
@@ -1006,7 +1006,7 @@ save_stackenv $LINENO
1006 1006
 # be memory bound not cpu bound so enable KSM by default but allow people
1007 1007
 # to opt out if the CPU time is more important to them.
1008 1008
 
1009
-if [[ "ENABLE_KSM" == "True" ]] ; then
1009
+if [[ $ENABLE_KSM == "True" ]] ; then
1010 1010
     if [[ -f /sys/kernel/mm/ksm/run ]] ; then
1011 1011
         sudo sh -c "echo 1 > /sys/kernel/mm/ksm/run"
1012 1012
     fi