1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- a/cpuset/commands/shield.py 2018-02-22 12:56:37.000000000 -0500
+++ b/cpuset/commands/shield.py 2018-02-22 12:58:00.748829750 -0500
@@ -396,8 +396,8 @@ def make_shield(cpuspec, kthread):
set.modify(USR_SET, cpuspec, memspec, False, False)
set.modify(SYS_SET, cpuspec_inv, memspec, False, False)
# reset cpu exlusivity
- cset.unique_set(USR_SET).cpu_exclusive = True
- cset.unique_set(SYS_SET).cpu_exclusive = True
+ ##cset.unique_set(USR_SET).cpu_exclusive = True
+ ##cset.unique_set(SYS_SET).cpu_exclusive = True
log.info('--> shielding modified with:')
# move root tasks into system set
root_tasks = cset.unique_set('/').tasks
--- a/cpuset/commands/set.py 2019-05-22 16:16:08.518318722 -0400
+++ b/cpuset/commands/set.py 2019-05-22 16:23:06.243819897 -0400
@@ -413,8 +413,8 @@ def modify(name, cpuspec=None, memspec=N
log.debug('modifying cpuset "%s"', nset.name)
if cpuspec: nset.cpus = cpuspec
if memspec: nset.mems = memspec
- if cx: nset.cpu_exclusive = cx
- if mx: nset.mem_exclusive = mx
+ # if cx: nset.cpu_exclusive = cx
+ # if mx: nset.mem_exclusive = mx
|