-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support cpu idle and burst for cgroupv2 #323
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: zouyee <[email protected]>
/assign @AkihiroSuda @fuweid |
I'm having trouble finding the kernel docs on these. Have any pointers? |
sched: Cgroup SCHED_IDLE support is introduced in Linux 5.15 Burstable CFS controller is landed in Linux 5.14 |
newSystemdProperty("CPUWeight", *resources.CPU.Weight)) | ||
if resources.CPU != nil { | ||
// Do not add duplicate CPUWeight property | ||
if resources.CPU.Idle != nil && *resources.CPU.Weight != 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some extra comments on this new case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also I think you need a nil check for CPU.Weight
?
No description provided.