summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-05-04 21:09:13 +0200
committerTejun Heo <tj@kernel.org>2014-05-04 21:09:13 +0200
commit69dfa00ccb72a37f3810687ca110e5a8154c6eed (patch)
tree8e4c8511c940f844d555c3791fce13bbda1f7d73 /mm
parentcgroup: Use more current logging style (diff)
downloadlinux-69dfa00ccb72a37f3810687ca110e5a8154c6eed.tar.xz
linux-69dfa00ccb72a37f3810687ca110e5a8154c6eed.zip
cgroup: make flags and subsys_masks unsigned int
There's no reason to use atomic bitops for cgroup_subsys_state->flags, cgroup_root->flags and various subsys_masks. This patch updates those to use bitwise and/or operations instead and converts them form unsigned long to unsigned int. This makes the fields occupy (marginally) smaller space and makes it clear that they don't require atomicity. This patch doesn't cause any behavior difference. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions