diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-07-01 16:36:59 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2014-07-02 11:18:01 +0530 |
commit | 8fd32872b2799e0211f137d5666ded7acae4a378 (patch) | |
tree | 20bcf444987a48706150797e5f679ac56a459814 | |
parent | 4c51e71a2f1321ce9127eda8888f9784ee0c478b (diff) |
is-cpu-isolated: add delay before removing dplane cpuset
Change-Id: I4f17592c20027cd4739e188e1c9e14c99717b027
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rwxr-xr-x | common/scripts/is-cpu-isolated.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/scripts/is-cpu-isolated.sh b/common/scripts/is-cpu-isolated.sh index 8bfb6f9..ddbebbf 100755 --- a/common/scripts/is-cpu-isolated.sh +++ b/common/scripts/is-cpu-isolated.sh @@ -377,6 +377,11 @@ clear_cpusets() { # Remove the CPUsets for_each_isol_cpu remove_dplane_cpuset + + # delay required b/w cpu* cpusets and dplane cpuset for some reason, + # other wise we get this: Device or resource busy + sleep .1 + rmdir /dev/cpuset/cplane rmdir /dev/cpuset/dplane } |