]> git.baikalelectronics.ru Git - kernel.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)
commita08ebdc5824e1eced4ab604fd0ef58825d9c3917
tree831c74e8b044af514be8fcc5f8e9f771dfa3f806
parent288d71ff697ffb1371cf090785628eb52208be37
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