|
|
Log in / Subscribe / Register

Control groups

Control groups

Posted Jul 1, 2021 20:23 UTC (Thu) by walters (subscriber, #7396)
In reply to: Control groups by corbet
Parent article: Core scheduling lands in 5.14

See the linked article:

The patch set has seen a fair amount of discussion. Greg Kerr, representing Chrome OS, questioned the control-group interface. Making changes to control groups is a privileged operation, but he would like for unprivileged processes to be able to set their own cookies. To that end, he proposed an API based on ptrace() prctl() calls. Zijlstra replied that the interface issues can be worked out later; first it's necessary to get everything working as desired.
Personally I find this surprising because systemd already supports delegating cgroup access: https://systemd.io/CGROUP_DELEGATION/.


to post comments

Control groups

Posted Jul 2, 2021 3:44 UTC (Fri) by Gaelan (guest, #145108) [Link] (4 responses)

It isn't very clear from a quick google, but I don't think Chrome OS uses systemd.

Control groups

Posted Jul 2, 2021 4:06 UTC (Fri) by rahulsundaram (subscriber, #21946) [Link] (3 responses)

> It isn't very clear from a quick google, but I don't think Chrome OS uses systemd.

Uses Upstart. They hired the primary developer and moved to it years back

https://www.chromium.org/chromium-os/chromiumos-design-do...

Control groups

Posted Jul 2, 2021 4:47 UTC (Fri) by re:fi.64 (subscriber, #132628) [Link]

Worth noting that I believe Container Linux images are based on Chrome OS but do use systemd.

Control groups

Posted Jul 2, 2021 4:53 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link] (1 responses)

There are patches (overlays) for Chromium OS that use systemd. Moreover, even the stock Chromium OS uses journald with upstart.

Control groups

Posted Jul 2, 2021 17:44 UTC (Fri) by bnorris (subscriber, #92090) [Link]

> even the stock Chromium OS uses journald with upstart.

No longer: https://crbug.com/1066706


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds