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)
commit6e5c830770f9045a17b1b931c3e11fbd5591e630
treed346d77769be1ff22177e00f5c99a305cf1480e3
parent996cd1fb7383cf087496e8a441bb10b9873b1eb6
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
This page took 0.055445 seconds and 5 git commands to generate.