Commit 902a7da
committed
libctr: Reset the inherited cpu affinity
Old kernels do that automatically, but new kernels remember
the affinity that was set before the cgroup move due to
https://lore.kernel.org/lkml/[email protected]
This is undesirable for containers, because they inherit
the systemd affinity when the should really move to the container
space cpus.
see https://issues.redhat.com/browse/OCPBUGS-15102 for more information
Signed-off-by: Martin Sivak <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>1 parent 1614cab commit 902a7da
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
147 | 155 | | |
148 | 156 | | |
149 | 157 | | |
| |||
419 | 427 | | |
420 | 428 | | |
421 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
422 | 438 | | |
423 | 439 | | |
424 | 440 | | |
| |||
0 commit comments