Commit df59b72
cgroup/cpuset: Skip task update if hotplug doesn't affect current cpuset
If a hotplug event doesn't affect the current cpuset, there is no point
to call hotplug_update_tasks() or hotplug_update_tasks_legacy(). So
just skip it.
Signed-off-by: Waiman Long <longman@redhat.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>1 parent 5dcad50 commit df59b72
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3516 | 3516 | | |
3517 | 3517 | | |
3518 | 3518 | | |
| 3519 | + | |
| 3520 | + | |
3519 | 3521 | | |
3520 | 3522 | | |
3521 | 3523 | | |
| |||
3527 | 3529 | | |
3528 | 3530 | | |
3529 | 3531 | | |
| 3532 | + | |
3530 | 3533 | | |
3531 | 3534 | | |
3532 | 3535 | | |
| |||
0 commit comments