Commit 5363bc5
committed
msi: fix size of interrupts HashMap
We are using a HashMap to track the interrupt routes we use in the
system. The index to the HashMap is the GSI of the interrupt route.
We know the maximum number of GSIs we have available so pre-allocate the
space for the HashMap to avoid reallocations at runtime.
Signed-off-by: Babis Chalios <[email protected]>1 parent 6102824 commit 5363bc5
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
0 commit comments