On Sat, May 16, 2020 at 02:51:43PM +1000, matthew green wrote: > "Jaromir Dolecek" writes: > > Module Name: src > > Committed By: jdolecek > > Date: Fri May 15 07:42:58 UTC 2020 > > > > Modified Files: > > src/sys/arch/xen/include: intr.h > > src/sys/arch/xen/x86: pintr.c > > > > Log Message: > > use short for irq2port[] to save memory (4KB), it only needs to store > > numbers <= NR_EVENT_CHANNELS (2048) > > not that they're necessarily related, but you can have a look > at PR#54837 which has problems with running out of interrrupts > on systems with lots of cpus and devices with lots of msix?
It's not related in any way to Xen. In fact, a kernel running under Xen PV could avoid this issue. I have plans to update the per-cpu interrupt mask from 32 to 48 bits (it's not possible to go to 64 bits as suggested in the PR). Making the idtvect per-CPU is another topic. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --