Commit 71cf4cb
committed
cgroup/cpuset: Skip spread flags update on v2
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2077665
commit 18f9a4d
Author: Waiman Long <longman@redhat.com>
Date: Sat, 12 Nov 2022 17:19:38 -0500
cgroup/cpuset: Skip spread flags update on v2
Cpuset v2 has no spread flags to set. So we can skip spread
flags update if cpuset v2 is being used. Also change the name to
cpuset_update_task_spread_flags() to indicate that there are multiple
spread flags.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Waiman Long <longman@redhat.com>1 parent 8b6850f commit 71cf4cb
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
| 553 | + | |
| 554 | + | |
554 | 555 | | |
555 | | - | |
| 556 | + | |
556 | 557 | | |
557 | 558 | | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
558 | 562 | | |
559 | 563 | | |
560 | 564 | | |
| |||
2153 | 2157 | | |
2154 | 2158 | | |
2155 | 2159 | | |
2156 | | - | |
| 2160 | + | |
2157 | 2161 | | |
2158 | 2162 | | |
2159 | 2163 | | |
| |||
2530 | 2534 | | |
2531 | 2535 | | |
2532 | 2536 | | |
2533 | | - | |
| 2537 | + | |
2534 | 2538 | | |
2535 | 2539 | | |
2536 | 2540 | | |
| |||
0 commit comments