[PATCH v1 10/12] iommufd: Move _iommufd_object_alloc out of driver.c

Tian, Kevin kevin.tian at intel.com
Thu Jun 12 01:23:57 PDT 2025


> From: Nicolin Chen <nicolinc at nvidia.com>
> Sent: Tuesday, June 10, 2025 1:14 AM
> 
> Now, all driver structures will be allocated by the core, i.e. no longer a
> need of driver calling _iommufd_object_alloc. Thus, move it back.
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>    3024	    180	      0	   3204	    c84	drivers/iommu/iommufd/driver.o
>    9074	    610	     64	   9748	   2614	drivers/iommu/iommufd/main.o
> After:
>    text	   data	    bss	    dec	    hex	filename
>    2665	    164	      0	   2829	    b0d	drivers/iommu/iommufd/driver.o
>    9410	    618	     64	  10092	   276c	drivers/iommu/iommufd/main.o
> 
> Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>

Reviewed-by: Kevin Tian <kevin.tian at intel.com>



More information about the linux-arm-kernel mailing list