set cpu.rt_period_us and cpu.rt_runtime_us in the appropriate order
Fix: #4094 when users set or update cpu.rt_period_us and cpu.rt_runtime_us at the same time, runc should set these two values in the appropriate order to ensure that the intermediate value of cpu.rt_runtime_us/cpu.rt_period_us is less than the limit ratio
This code is quite complicated. Can you please do something similar to commit 1b2adcfe5620cac8ce3e52ea066161c72431f74c (and add a test case, too)?
This code is quite complicated. Can you please do something similar to commit 1b2adcf (and add a test case, too)?
This code is quite complicated. Can you please do something similar to commit 1b2adcf (and add a test case, too)? @kolyshkin Thanks for your suggestion, I have completed the comments and commit information. and added test cases
rebase
@kolyshkin Can this PR be approved?