Commit 648d43d
cpuset: remove global remote_children list
The remote_children list is used to track all remote partitions attached
to a cpuset. However, it serves no other purpose. Using a boolean flag to
indicate whether a cpuset is a remote partition is a more direct approach,
making remote_children unnecessary.
This patch replaces the list with a remote_partition flag in the cpuset
structure and removes remote_children entirely.
Signed-off-by: Chen Ridong <[email protected]>
Reviewed-by: Waiman Long <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>1 parent 0241e9e commit 648d43d
2 files changed
+11
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
161 | 168 | | |
162 | 169 | | |
163 | 170 | | |
| |||
172 | 179 | | |
173 | 180 | | |
174 | 181 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | 182 | | |
179 | 183 | | |
180 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| |||
219 | 216 | | |
220 | 217 | | |
221 | 218 | | |
222 | | - | |
| 219 | + | |
223 | 220 | | |
224 | 221 | | |
225 | 222 | | |
| |||
1572 | 1569 | | |
1573 | 1570 | | |
1574 | 1571 | | |
1575 | | - | |
| 1572 | + | |
1576 | 1573 | | |
1577 | 1574 | | |
1578 | 1575 | | |
| |||
1621 | 1618 | | |
1622 | 1619 | | |
1623 | 1620 | | |
1624 | | - | |
| 1621 | + | |
1625 | 1622 | | |
1626 | 1623 | | |
1627 | 1624 | | |
| |||
1651 | 1648 | | |
1652 | 1649 | | |
1653 | 1650 | | |
1654 | | - | |
| 1651 | + | |
1655 | 1652 | | |
1656 | 1653 | | |
1657 | 1654 | | |
| |||
3603 | 3600 | | |
3604 | 3601 | | |
3605 | 3602 | | |
3606 | | - | |
3607 | 3603 | | |
3608 | 3604 | | |
3609 | 3605 | | |
| |||
3874 | 3870 | | |
3875 | 3871 | | |
3876 | 3872 | | |
3877 | | - | |
3878 | 3873 | | |
3879 | 3874 | | |
3880 | 3875 | | |
| |||
0 commit comments