Commit b8a7ce2
committed
misc: vm: pre-allocate irq routing entries
Do a single allocation when setting irq routing instead of pushing to
KvmIrqRouting multiple times. Saves us from dynamic re-alloations.
Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>1 parent fde75f7 commit b8a7ce2
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
724 | 721 | | |
725 | 722 | | |
726 | 723 | | |
| |||
0 commit comments