• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

libcgroup / libcgroup / 12193633873
56%

Build:
DEFAULT BRANCH: main
Ran 06 Dec 2024 05:41AM UTC
Jobs 5
Files 28
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Dec 2024 05:38AM UTC coverage: 60.142% (-0.1%) from 60.265%
12193633873

push

github

kamalesh-babulal
cgconfig: Add support for multiple controllers on the same mount path

Add support to cgconfigparser for mounting multiple controllers to the
same mount point.

Given the following config:

mount {
	cpu = /cg_sys;
	cpuacct = /cg_sys;
}

cgconfigparser should mount both the cpu and cpuacct controllers to
/cg_sys. The mount should look as follows:

cgroup on /cg_sys type cgroup (rw,relatime,seclabel,cpu,cpuacct)

Without this change, the mount->name gets overwritten and the mount
fails, which can be categorized into two cases:

1.if cpu and cpuacct are at the same hierarchy before being mounted:

Error: cannot mount cpu to /cg_sys: Device or resource busy

2.if cpu and cpuacct are not at the same hierarchy before being mounted:

cgroup on /cg_sys type cgroup (rw,relatime,seclabel,cpu)

[TJH suggested improvements to commit message]
[Kamalesh fixed a few checkpatch warnings]
Signed-off-by: lipengyu <lipengyu@kylinos.cn>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>

0 of 16 new or added lines in 1 file covered. (0.0%)

4 existing lines in 2 files now uncovered.

5862 of 9747 relevant lines covered (60.14%)

1113.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 No systemd Functional Tests - 12193633873.1 06 Dec 2024 05:43AM UTC 0
49.35
GitHub Action Run
2 Cgroup v1 Functional Tests - 12193633873.2 06 Dec 2024 05:44AM UTC 0
44.3
GitHub Action Run
3 Cgroup v2 Functional Tests - 12193633873.3 06 Dec 2024 05:44AM UTC 0
45.81
GitHub Action Run
4 Unit Tests - 12193633873.4 06 Dec 2024 05:41AM UTC 0
10.83
GitHub Action Run
5 Cgroup v1/v2 Functional Tests - 12193633873.5 06 Dec 2024 05:45AM UTC 0
53.85
GitHub Action Run
Source Files on build 12193633873
Detailed source file information is not available for this build.
  • Back to Repo
  • dcce65bd on github
  • Prev Build on main (#12181516610)
  • Next Build on main (#12714828311)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc