cpuset: introduce CS_ONLINE
authorTejun Heo <tj@kernel.org>
Mon, 7 Jan 2013 16:51:07 +0000 (08:51 -0800)
committerTejun Heo <tj@kernel.org>
Mon, 7 Jan 2013 16:51:07 +0000 (08:51 -0800)
commitefeb77b2f13deb0503e65ad2b243495b6de75173
tree2b0db442e04561e7993301247ae8d8a10855a721
parentc8f699bb56aeae951e02fe2a46c9ada022535770
cpuset: introduce CS_ONLINE

Add CS_ONLINE which is set from css_online() and cleared from
css_offline().  This will enable using generic cgroup iterator while
allowing decoupling cpuset from cgroup internal locking.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
kernel/cpuset.c