[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250228180215.GE39591@nvidia.com>
Date: Fri, 28 Feb 2025 14:02:15 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Nicolin Chen <nicolinc@...dia.com>
Cc: kevin.tian@...el.com, robin.murphy@....com, joro@...tes.org,
will@...nel.org, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] iommufd: Move iommufd_sw_msi and related
functions to driver.c
On Fri, Feb 28, 2025 at 09:54:28AM -0800, Nicolin Chen wrote:
> > Stubbed out too if CONFIG_IRQ_MSI_IOMMU ?
>
> In that case, the other caller iommufd_group_setup_msi() could be
> {
> #if IS_ENABLED(CONFIG_IRQ_MSI_IOMMU)
> ....
> iommufd_sw_msi_install();
> ...
> #endif
> return 0;
> }
> ?
Or a empty static inline
> > I'm still wondering if we should use a function pointer, how big was
> > this compiled anyhow?
>
> Hmm, you mean the size of driver.o? It's 192K (before) vs 212K
> (after).
Yes, but use the 'size' command to measure before/after
Jason
Powered by blists - more mailing lists