]> 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)
commite6ec62a194339fddc68cfdaedf4b28c3940a1603
treed346d77769be1ff22177e00f5c99a305cf1480e3
parenteef0957b6aefcd0e4ad135bbb4ed0a5bbd571d88
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