With major controllers - cpu, memory and io - shaping up for the unified hierarchy, cgroup2 is about ready to be, gradually, released into the wild. Replace __DEVEL__sane_behavior flag which was used to select the unified hierarchy with a separate filesystem type "cgroup2" so that unified hierarchy can be mounted as follows. mount -t cgroup2 none $MOUNT_POINT The cgroup2 fs has its own magic number - 0x63677270 ("cgrp"). v2: Assign a different magic number to cgroup2 fs.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -54,6 +54,7 @@ · 53 unmodified lines | |||
| 54 | 54 | ||
| 55 | #define SMB_SUPER_MAGIC 0x517B | 55 | #define SMB_SUPER_MAGIC 0x517B |
| 56 | #define CGROUP_SUPER_MAGIC 0x27e0eb | 56 | #define CGROUP_SUPER_MAGIC 0x27e0eb |
| 57 | #define CGROUP2_SUPER_MAGIC 0x63677270 | ||
| 57 | 58 | ||
| 58 | 59 | ||
| 59 | #define STACK_END_MAGIC 0x57AC6E9D | 60 | #define STACK_END_MAGIC 0x57AC6E9D |