+10
−9
Loading
Centralize the check required to run security_task_setscheduler() in the task iteration loop of cpuset_can_attach() outside of the loop as it has no dependency on the characteristics of the tasks themselves. There is no functional change. Signed-off-by:Waiman Long <longman@redhat.com> Signed-off-by:
Tejun Heo <tj@kernel.org>