[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BN9PR11MB52760908A86DDC4801619B778CD02@BN9PR11MB5276.namprd11.prod.outlook.com>
Date: Wed, 12 Mar 2025 07:37:56 +0000
From: "Tian, Kevin" <kevin.tian@...el.com>
To: Nicolin Chen <nicolinc@...dia.com>, "jgg@...dia.com" <jgg@...dia.com>,
"robin.murphy@....com" <robin.murphy@....com>, "joro@...tes.org"
<joro@...tes.org>, "will@...nel.org" <will@...nel.org>
CC: "iommu@...ts.linux.dev" <iommu@...ts.linux.dev>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v4 2/3] iommufd: Move iommufd_sw_msi and related functions
to driver.c
> From: Nicolin Chen <nicolinc@...dia.com>
> Sent: Friday, March 7, 2025 5:01 AM
>
> To provide the iommufd_sw_msi() to the iommu core that is under a
> different
> Kconfig, move it and its related functions to driver.c. Then, stub it into
> the iommu-priv header. The iommufd_sw_msi_install() continues to be used
> by
> iommufd internal, so put it in the private header.
>
> Since this affects the module size, here is before-n-after size comparison:
> [Before]
> text data bss dec hex filename
> 18797 848 56 19701 4cf5 drivers/iommu/iommufd/device.o
> 722 44 0 766 2fe drivers/iommu/iommufd/driver.o
> [After]
> text data bss dec hex filename
> 17671 808 56 18535 4867 drivers/iommu/iommufd/device.o
> 1900 100 0 2000 7d0 drivers/iommu/iommufd/driver.o
>
> Signed-off-by: Nicolin Chen <nicolinc@...dia.com>
Reviewed-by: Kevin Tian <kevin.tian@...el.com>
Powered by blists - more mailing lists