Commit baddaeb
committed
cgroup/cpuset: remove fetch_xcpus
jira NONE_AUTOMATION
Rebuild_History Non-Buildable kernel-5.14.0-570.17.1.el9_6
commit-author Chen Ridong <[email protected]>
commit 9414f68
Both fetch_xcpus and user_xcpus functions are used to retrieve the value
of exclusive_cpus. If exclusive_cpus is not set, cpus_allowed is the
implicit value used as exclusive in a local partition. I can not imagine
a scenario where effective_xcpus is not empty when exclusive_cpus is
empty. Therefore, I suggest removing the fetch_xcpus function.
Signed-off-by: Chen Ridong <[email protected]>
Reviewed-by: Waiman Long <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
(cherry picked from commit 9414f68)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 4930690 commit baddaeb
1 file changed
+3
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | 754 | | |
762 | 755 | | |
763 | 756 | | |
764 | 757 | | |
765 | 758 | | |
766 | 759 | | |
767 | 760 | | |
768 | | - | |
769 | | - | |
| 761 | + | |
| 762 | + | |
770 | 763 | | |
771 | 764 | | |
772 | 765 | | |
| |||
2563 | 2556 | | |
2564 | 2557 | | |
2565 | 2558 | | |
2566 | | - | |
| 2559 | + | |
2567 | 2560 | | |
2568 | 2561 | | |
2569 | 2562 | | |
| |||
0 commit comments