summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-06-03 16:24:34 +0530
committerFathi Boudra <fathi.boudra@linaro.org>2014-06-04 05:55:31 +0000
commitc78d99c574cb967f72ad3cbed6c57670e22f33e5 (patch)
tree2f3248887752d9ba9579008cdab3e3c9a617c2fc /common
parent856fc49704a30f3df36fe0f1752632dec309cd96 (diff)
is-cpu-isolated: disable cpu-hotplug hack
cpu-hotplug was a HACK which was added initially to get everything migrated out. But kernel now has better support for isolation and so this can be disabled now. Leave it commented so that it can be used for testing later. Change-Id: I5dd7b9055f7eac45f1c7447c05be5ade4f8ef490 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'common')
-rwxr-xr-xcommon/scripts/is-cpu-isolated.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/scripts/is-cpu-isolated.sh b/common/scripts/is-cpu-isolated.sh
index 1c78e81..a5fa166 100755
--- a/common/scripts/is-cpu-isolated.sh
+++ b/common/scripts/is-cpu-isolated.sh
@@ -156,8 +156,9 @@ isolate_cpu() {
stress -q --cpu $ISOL_CPU --timeout $STRESS_DURATION &
# Restart $ISOL_CPU to migrate all tasks to CPU0
- echo 0 > /sys/devices/system/cpu/cpu$ISOL_CPU/online
- echo 1 > /sys/devices/system/cpu/cpu$ISOL_CPU/online
+ # Commented-out: as we should get good numbers without this HACK
+ #echo 0 > /sys/devices/system/cpu/cpu$ISOL_CPU/online
+ #echo 1 > /sys/devices/system/cpu/cpu$ISOL_CPU/online
# Setup the NOHZ domain again: CPU1
echo $ISOL_CPU > /dev/cpuset/dplane/$CPUSET_PREFIX"cpus"