Skip to content

Commit

Permalink
cgroup: reorder SUBSYS(blkio) in cgroup_subsys.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo committed Jan 6, 2015
1 parent f595f76 commit 24dab7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/linux/cgroup_subsys.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 24dab7a

Please sign in to comment.