]> git.karo-electronics.de Git - linux-beck.git/commit
cpuset: remove fast exit path from remove_tasks_in_empty_cpuset()
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)
commit0772324ae669f787b42fdb9fc5ac2c3d1c0df509
tree6a7aacbd773a1b3867c6bd2d62c796b79a3579fd
parent01c889cf4f2e16c9a21376f8583f4a2872d7d1da
cpuset: remove fast exit path from remove_tasks_in_empty_cpuset()

The function isn't that hot, the overhead of missing the fast exit is
low, the test itself depends heavily on cgroup internals, and it's
gonna be a hindrance when trying to decouple cpuset locking from
cgroup core.  Remove the fast exit path.

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