-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a fallback logic for locating a usable cgroup for cgroups v2
For cgroups v1 we already use /system.slice/benchexec-cgroup.service as a fallback cgroup if it exists and we cannot use our current cgroup. For cgroups v2 we do not yet have such a fallback. However, implementing this makes it much easier for people on systems without systemd (e.g., in a container) to setup and configure cgroups for BenchExec, so let's do this. Background discussion is in #1048, from which also the suggested commands in the documentation are taken. Thanks to @incaseoftrouble for reviewing the design of this.
- Loading branch information
1 parent
324bbc7
commit 29480b3
Showing
2 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters