-
Notifications
You must be signed in to change notification settings - Fork 33
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
cgroup-v2 considerations #109
base: main
Are you sure you want to change the base?
Conversation
Code-wise it looks reasonable, though I'm not familiar with either cgroup implementation and didn't do any testing. Spelling: "budged" in a couple of places. It's probably worthwhile to comment, either in the sysconfig file or the code, the conditions under which cgroup v2 will be effective. I.e. what kernel version made it available and what has to be done to switch to it, and how a user could tell what an existing system uses. |
Tried to be a bit more descriptive in the comment before the code that is actually doing the check. |
Looks reasonable (a bit scary tho) but I have a question. What you mean by "when moving to the root-slice journal stops working"? It's logging to journald or some other journal (sbd, fs, ...)? |
logging stops to work unfortunately. If it was something sbd internal I would have tried to make it work ;-) |
Ok, thanks for the info. |
2ec37a2
to
763e3a0
Compare
cherry-picked the travis-config changes needed for mock 2.0 (update in fedora-31) as they are not really related to the topic of this PR. |
Just as a preview ...
Needs splitting probably.
And the cgroup-v2 stuff is ugly:
out about CONFIG_RT_GROUP_SCHED being enabled with cgroup-v2
so moving to the root-slice in all cases with all consequences