]> git.baikalelectronics.ru Git - kernel.git/commit
cpuset: use css_task_iter_start/next/end() instead of css_scan_tasks()
authorTejun Heo <tj@kernel.org>
Thu, 13 Feb 2014 11:58:40 +0000 (06:58 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 13 Feb 2014 11:58:40 +0000 (06:58 -0500)
commit57adaa9451b81b606a531b9e325869cf72d211a0
tree62aa7143ecca51903919ede1cee8f8802c79f042
parent0f39daaafd74174b99024f15db407cdcff5436f8
cpuset: use css_task_iter_start/next/end() instead of css_scan_tasks()

Now that css_task_iter_start/next_end() supports blocking while
iterating, there's no reason to use css_scan_tasks() which is more
cumbersome to use and scheduled to be removed.

Convert all css_scan_tasks() usages in cpuset to
css_task_iter_start/next/end().  This simplifies the code by removing
heap allocation and callbacks.

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