This repository was archived by the owner on May 12, 2021. It is now read-only.
Commit 8ef2946
committed
sandbox: consider cpusets if quota is not enforced
If quota is not being enforced on any containers but CPUsets are
specified, take the number of CPU sets into account when sizing the
virtual machine.
Fixes: #2971
Signed-off-by: Eric Ernst <[email protected]>1 parent 0e0ef63 commit 8ef2946
2 files changed
+34
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1863 | 1863 | | |
1864 | 1864 | | |
1865 | 1865 | | |
1866 | | - | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
1867 | 1870 | | |
1868 | 1871 | | |
1869 | 1872 | | |
| |||
1923 | 1926 | | |
1924 | 1927 | | |
1925 | 1928 | | |
1926 | | - | |
| 1929 | + | |
1927 | 1930 | | |
| 1931 | + | |
1928 | 1932 | | |
1929 | 1933 | | |
1930 | 1934 | | |
| |||
1938 | 1942 | | |
1939 | 1943 | | |
1940 | 1944 | | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
1941 | 1950 | | |
1942 | 1951 | | |
1943 | | - | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
1944 | 1961 | | |
1945 | 1962 | | |
1946 | 1963 | | |
| |||
2273 | 2290 | | |
2274 | 2291 | | |
2275 | 2292 | | |
2276 | | - | |
| 2293 | + | |
2277 | 2294 | | |
2278 | 2295 | | |
2279 | 2296 | | |
2280 | | - | |
| 2297 | + | |
2281 | 2298 | | |
2282 | 2299 | | |
2283 | 2300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
114 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
115 | 121 | | |
116 | 122 | | |
117 | 123 | | |
| |||
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
126 | 135 | | |
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
130 | | - | |
| 139 | + | |
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
| |||
0 commit comments