]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iommu/vt-d: Remove domain and devinfo mempool
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 1 Mar 2022 02:01:51 +0000 (10:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 4 Mar 2022 15:46:30 +0000 (16:46 +0100)
commitee2653bbe89df777e222ec1aa015c2ed7ea06b6b
tree831c74e8b044af514be8fcc5f8e9f771dfa3f806
parentc8850a6e6d71e2f95cfe1eae8c8dd195dd05b950
iommu/vt-d: Remove domain and devinfo mempool

The domain and devinfo memory blocks are only allocated during device
probe and released during remove. There's no hot-path context, hence
no need for memory pools.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20220214025704.3184654-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20220301020159.633356-5-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c