Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768945 - sys-apps/systemd-246.6: should check CONFIG_CFS_BANDWIDTH which is required for CPUQuota= in resource control unit settings
Summary: sys-apps/systemd-246.6: should check CONFIG_CFS_BANDWIDTH which is required f...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-06 09:21 UTC by Lin Jian
Modified: 2023-07-22 20:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lin Jian 2021-02-06 09:21:02 UTC
According to the readme[1] of systemd, CONFIG_CFS_BANDWIDTH is required for CPUQuota= in resource control unit settings. So it should be checked when installing systemd.

Similarity, CONFIG_CGROUP_SCHED and CONFIG_FAIR_GROUP_SCHED are required for CPUShares= in resource control unit settings. Maybe they should be checked too.

[1]: https://github.com/systemd/systemd/blob/ca9fab8896995b1766787b70963ea752cbb68939/README#L96
Comment 1 Mike Gilbert gentoo-dev 2023-07-22 20:21:33 UTC
I don't think it makes sense to check for every optional kernel feature that systemd could possibly use. Especially when not used by default.