commit | d66393e54e0a9dc743e440eb36c58bd1158a560e | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Feb 13 06:58:40 2014 -0500 |
committer | Tejun Heo <tj@kernel.org> | Thu Feb 13 06:58:40 2014 -0500 |
tree | 62aa7143ecca51903919ede1cee8f8802c79f042 | |
parent | 96d365e0b86ee7ec6366c99669687e54c9f145e3 [diff] |
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>