cgroup: reorder SUBSYS(blkio) in cgroup_subsys.h
authorTejun Heo <tj@kernel.org>
Tue, 6 Jan 2015 17:02:46 +0000 (12:02 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 6 Jan 2015 17:02:46 +0000 (12:02 -0500)
The scheduled cgroup writeback support requires blkio to be
initialized before memcg as memcg needs to provide certain blkcg
related functionalities.  Relocate blkio so that it's right above
memory.

Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cgroup_subsys.h

index 98c4f9b12b03742aae05101b3f6cbebc99ff28a0..e4a96fb14403569928e49db77d5a7ff00b30a9fd 100644 (file)
@@ -15,6 +15,10 @@ SUBSYS(cpu)
 SUBSYS(cpuacct)
 #endif
 
+#if IS_ENABLED(CONFIG_BLK_CGROUP)
+SUBSYS(blkio)
+#endif
+
 #if IS_ENABLED(CONFIG_MEMCG)
 SUBSYS(memory)
 #endif
@@ -31,10 +35,6 @@ SUBSYS(freezer)
 SUBSYS(net_cls)
 #endif
 
-#if IS_ENABLED(CONFIG_BLK_CGROUP)
-SUBSYS(blkio)
-#endif
-
 #if IS_ENABLED(CONFIG_CGROUP_PERF)
 SUBSYS(perf_event)
 #endif