Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cgroup: reorder SUBSYS(blkio) in cgroup_subsys.h

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>

Tejun Heo 24dab7a7 f595f76d

+4 -4
+4 -4
include/linux/cgroup_subsys.h
··· 15 15 SUBSYS(cpuacct) 16 16 #endif 17 17 18 + #if IS_ENABLED(CONFIG_BLK_CGROUP) 19 + SUBSYS(blkio) 20 + #endif 21 + 18 22 #if IS_ENABLED(CONFIG_MEMCG) 19 23 SUBSYS(memory) 20 24 #endif ··· 33 29 34 30 #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID) 35 31 SUBSYS(net_cls) 36 - #endif 37 - 38 - #if IS_ENABLED(CONFIG_BLK_CGROUP) 39 - SUBSYS(blkio) 40 32 #endif 41 33 42 34 #if IS_ENABLED(CONFIG_CGROUP_PERF)