]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: make cgroup subsystem masks u16
authorTejun Heo <tj@kernel.org>
Tue, 23 Feb 2016 03:25:47 +0000 (22:25 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 23 Feb 2016 03:25:47 +0000 (22:25 -0500)
commit62b9b8cbaf278eae8b076deb310e59ec02122a0b
treed346d77769be1ff22177e00f5c99a305cf1480e3
parent63b509a16ec0186170796a2bd9e5dcac747ca2ae
cgroup: make cgroup subsystem masks u16

After the recent do_each_subsys_mask() conversion, there's no reason
to use ulong for subsystem masks.  We'll be adding more subsystem
masks to persistent data structures, let's reduce its size to u16
which should be enough for now and the foreseeable future.

This doesn't create any noticeable behavior differences.

v2: Johannes spotted that the initial patch missed cgroup_no_v1_mask.
    Converted.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
include/linux/cgroup-defs.h
kernel/cgroup.c