Commit 0a0c174
committed
hardware: Don't consider overhead CPUs for unpinned instances
The 'cpuset_reserved' argument for the '_numa_fit_instance_cell'
function is only ever non-zero if the 'isolate' CPU thread policy is in
effect, and this thread policy can only be used if using the 'dedicated'
CPU policy is used. As such, we don't need to worry about overhead if
either the 'share' CPU thread policy or the 'shared' CPU policy is in
effect.
Part of blueprint use-pcpu-and-vcpu-in-one-instance
Change-Id: Ib863b6a8d3bd3d2848fabd777fc1ac3387a7dd42
Signed-off-by: Stephen Finucane <[email protected]>1 parent 690ce37 commit 0a0c174
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1127 | 1127 | | |
1128 | 1128 | | |
1129 | 1129 | | |
1130 | | - | |
1131 | | - | |
1132 | 1130 | | |
1133 | 1131 | | |
1134 | 1132 | | |
| |||
1140 | 1138 | | |
1141 | 1139 | | |
1142 | 1140 | | |
1143 | | - | |
| 1141 | + | |
1144 | 1142 | | |
1145 | 1143 | | |
1146 | | - | |
1147 | | - | |
| 1144 | + | |
1148 | 1145 | | |
1149 | 1146 | | |
1150 | | - | |
1151 | 1147 | | |
1152 | 1148 | | |
1153 | 1149 | | |
| |||
0 commit comments