Files
runc/libcontainer/cgroups/fs
Kir Kolyshkin 3249e2379c cgroupv1: check cpu shares in place
Commit 4e65e0e90a added a check for cpu shares. Apparently, the
kernel allows to set a value higher than max or lower than min without
an error, but the value read back is always within the limits.

The check (which was later moved out to a separate CheckCpushares()
function) is always performed after setting the cpu shares, so let's
move it to the very place where it is set.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-05-29 16:46:28 -07:00
..
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2020-05-29 16:46:28 -07:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2020-04-08 17:40:09 +02:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2015-11-05 19:12:53 +08:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00
2019-12-06 15:42:10 +09:00