cgroup: reorder css_set fields
commit5f617ebbdf10abd49312a89e3b894b927c7367f5
authorTejun Heo <tj@kernel.org>
Tue, 27 Dec 2016 19:49:05 +0000 (27 14:49 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 27 Dec 2016 19:49:05 +0000 (27 14:49 -0500)
tree3c5f3a9c2be3a997272909be18c21fde6a5b933f
parent2fae98634334e256b67241970526ddfadc77db2b
cgroup: reorder css_set fields

Reorder css_set fields so that they're roughly in the order of how hot
they are.  The rough order is

1. the actual csses
2. reference counter and the default cgroup pointer.
3. task lists and iterations
4. fields used during merge including css_set lookup
5. the rest

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Acked-by: Zefan Li <lizefan@huawei.com>
include/linux/cgroup-defs.h
kernel/cgroup.c