commit | 2c9343e5db44fa7a41ca6924737331dd9088ef8f | [log] [tgz] |
---|---|---|
author | Zuul <zuul@review.openstack.org> | Fri Oct 27 08:28:49 2017 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Fri Oct 27 08:28:49 2017 +0000 |
tree | 38049e370dc4c2b2be02b191a18dcbb96f5ca651 | |
parent | 464d6e06eaee9a821c44d88b746fb71182d603b3 [diff] | |
parent | e8db8674855634dadd90adaadd4381f70c7227ed [diff] |
Merge "Change ENABLE_KSM to $ENABLE_KSM"
diff --git a/stack.sh b/stack.sh index c545c56..f14ed96 100755 --- a/stack.sh +++ b/stack.sh
@@ -1006,7 +1006,7 @@ # 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