Re: [PATCH v2 1/5] iommu/vt-d: Separate page request queue from SVM
From: Jason Gunthorpe
Date: Fri Sep 20 2024 - 08:54:45 EST
On Wed, Sep 18, 2024 at 07:17:32PM +0800, Baolu Lu wrote:
> > more than that... for each IOMMU the current code allocates 16 pages
> > and 1 hwirq. Those are unnecessary burdens in majority deployments
> > which don't support/require I/O page faults.
>
> Yeah! I only focused on the kernel binary size but ignored these system
> resources consumed by IOPF. Then, perhaps
If you care about runtime overhead it should be delt with by
dynamically allocating the memory and enabling it, not via kconfig
We can dynmaically add IRQS in some cases now for instance
Jason