Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| cgroupsv2 [2019/07/27 20:11] – [kernel/Makefile] rpjday | cgroupsv2 [2019/07/28 15:25] (current) – [STUFF] rpjday | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Stuff about cgroups v2. | Stuff about cgroups v2. | ||
| + | |||
| + | ===== STUFF ===== | ||
| + | |||
| + | * every process belongs to exactly one cgroup; all threads of a process belong to the same cgroup | ||
| + | * | ||
| ===== Kernel files ===== | ===== Kernel files ===== | ||
| Line 66: | Line 71: | ||
| obj-$(CONFIG_CGROUP_DEBUG) += debug.o | obj-$(CONFIG_CGROUP_DEBUG) += debug.o | ||
| </ | </ | ||
| + | |||
| + | ===== Mount points ===== | ||
| + | |||
| + | < | ||
| + | $ mount -t cgroup | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | cgroup on / | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | $ mount -t cgroup2 | ||
| + | cgroup2 on / | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | ===== sysfs implementation ===== | ||
| + | |||
| + | |||