History

cgroup: replace __DEVEL__sane_behavior with cgroup2 fs type

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.

Tejun Heo committed 11 years ago

Commit 67e9c741 parent 34c06254 files · +26 −29Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/magic.h+1−0
@@ -54,6 +54,7 @@ · 53 unmodified lines
5454
5555 #define SMB_SUPER_MAGIC 0x517B
5656 #define CGROUP_SUPER_MAGIC 0x27e0eb
57+#define CGROUP2_SUPER_MAGIC 0x63677270
5758
5859
5960 #define STACK_END_MAGIC 0x57AC6E9D

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t