Commit e581c0d
committed
Bind PreemptionNoCandidates exclusion to effective AFS ordering
The exclusion only checked AdmissionScope.AdmissionMode, but what actually
reorders the queue is enableAdmissionFs, which needs admissionFairSharing
configured and the feature gate on.
Switched to testing enableAdmissionFs directly since that's the same value
the heap comparator uses, so the exclusion can't drift out of sync with
actual pop order. Also dropped the now-unused AdmissionScope assignment in
Update().
TestRequeueHashTriggerByReason now passes a real config and enables the gate;
its UBAFS cases previously passed only because of this gap.
This in turn replaces the earlier assumption that AdmissionMode alone
was enough to gate this.
See Kueue#142311 parent c0b6bd4 commit e581c0d
2 files changed
Lines changed: 40 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
196 | 203 | | |
197 | 204 | | |
198 | 205 | | |
| |||
315 | 322 | | |
316 | 323 | | |
317 | 324 | | |
| 325 | + | |
318 | 326 | | |
319 | 327 | | |
320 | 328 | | |
| |||
333 | 341 | | |
334 | 342 | | |
335 | 343 | | |
336 | | - | |
337 | 344 | | |
338 | 345 | | |
339 | 346 | | |
| |||
590 | 597 | | |
591 | 598 | | |
592 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
593 | 606 | | |
594 | | - | |
| 607 | + | |
595 | 608 | | |
596 | 609 | | |
597 | 610 | | |
| |||
600 | 613 | | |
601 | 614 | | |
602 | 615 | | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | 616 | | |
614 | 617 | | |
615 | 618 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2041 | 2041 | | |
2042 | 2042 | | |
2043 | 2043 | | |
| 2044 | + | |
| 2045 | + | |
2044 | 2046 | | |
2045 | | - | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
2046 | 2050 | | |
| 2051 | + | |
2047 | 2052 | | |
2048 | 2053 | | |
2049 | 2054 | | |
| |||
2067 | 2072 | | |
2068 | 2073 | | |
2069 | 2074 | | |
2070 | | - | |
2071 | | - | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
2075 | 2079 | | |
2076 | 2080 | | |
2077 | 2081 | | |
2078 | 2082 | | |
2079 | 2083 | | |
2080 | 2084 | | |
2081 | | - | |
2082 | | - | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
2086 | 2098 | | |
2087 | 2099 | | |
2088 | 2100 | | |
2089 | 2101 | | |
2090 | 2102 | | |
2091 | 2103 | | |
| 2104 | + | |
2092 | 2105 | | |
2093 | 2106 | | |
2094 | 2107 | | |
| |||
2098 | 2111 | | |
2099 | 2112 | | |
2100 | 2113 | | |
2101 | | - | |
| 2114 | + | |
2102 | 2115 | | |
2103 | 2116 | | |
2104 | 2117 | | |
| |||
0 commit comments