Skip to content

Commit 12ab908

Browse files
authored
Merge pull request #119 from retronym/topic/cpusets
2 parents 7fbe213 + 6cf87e2 commit 12ab908

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

scripts/benv

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,6 @@ function setupShield() {
194194
checkFail $? "shield kernel processes" "$log"
195195
logOk "moved kernel processes to 'system' CPU set"
196196

197-
# Avoid JDK 16 warning which messes up JMH.
198-
# Is there as better way to do this?
199-
#
200-
# $/usr/lib/jvm/jdk-16.0.1+9/bin/java -version
201-
# [0.000s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /cpusets.
202-
# openjdk version "16.0.1" 2021-04-20
203-
sudo umount /cpusets
204-
205197
checkShield
206198
}
207199

@@ -210,6 +202,14 @@ function resetShield() {
210202
sudo cset shield -r > /dev/null || true
211203
logOk "removed CPU shield"
212204
checkNoShield
205+
206+
# Avoid JDK 16 warning which messes up JMH.
207+
# Is there as better way to do this?
208+
#
209+
# $/usr/lib/jvm/jdk-16.0.1+9/bin/java -version
210+
# [0.000s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /cpusets.
211+
# openjdk version "16.0.1" 2021-04-20
212+
sudo umount /cpusets
213213
}
214214

215215
# Interrupt Affinity

0 commit comments

Comments
 (0)