runc icon indicating copy to clipboard operation
runc copied to clipboard

set cpu.rt_period_us and cpu.rt_runtime_us in the appropriate order

Open ls-ggg opened this issue 1 year ago • 4 comments

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

ls-ggg avatar Mar 29 '24 03:03 ls-ggg

This code is quite complicated. Can you please do something similar to commit 1b2adcfe5620cac8ce3e52ea066161c72431f74c (and add a test case, too)?

kolyshkin avatar Mar 30 '24 03:03 kolyshkin

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

ls-ggg avatar Apr 01 '24 07:04 ls-ggg

rebase

ls-ggg avatar Apr 02 '24 05:04 ls-ggg

@kolyshkin Can this PR be approved?

ls-ggg avatar Apr 12 '24 08:04 ls-ggg