diff options
author | Tejun Heo <tj@kernel.org> | 2014-05-04 21:09:13 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-05-04 21:09:13 +0200 |
commit | 69dfa00ccb72a37f3810687ca110e5a8154c6eed (patch) | |
tree | 8e4c8511c940f844d555c3791fce13bbda1f7d73 /mm | |
parent | cgroup: Use more current logging style (diff) | |
download | linux-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