Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24dab7a7 authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
parent f595f76d
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -15,6 +15,10 @@ SUBSYS(cpu)
SUBSYS(cpuacct)
SUBSYS(cpuacct)
#endif
#endif


#if IS_ENABLED(CONFIG_BLK_CGROUP)
SUBSYS(blkio)
#endif

#if IS_ENABLED(CONFIG_MEMCG)
#if IS_ENABLED(CONFIG_MEMCG)
SUBSYS(memory)
SUBSYS(memory)
#endif
#endif
@@ -31,10 +35,6 @@ SUBSYS(freezer)
SUBSYS(net_cls)
SUBSYS(net_cls)
#endif
#endif


#if IS_ENABLED(CONFIG_BLK_CGROUP)
SUBSYS(blkio)
#endif

#if IS_ENABLED(CONFIG_CGROUP_PERF)
#if IS_ENABLED(CONFIG_CGROUP_PERF)
SUBSYS(perf_event)
SUBSYS(perf_event)
#endif
#endif