diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-09-02 10:27:14 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-09-02 18:14:56 +0200 |
commit | 487df6836606dc67cd8e2c26616f581c8800a17a (patch) | |
tree | ac1d67c968fbcc91aaf303c7b5e83d7f9b8a3c19 /net/unix/unix_bpf.c | |
parent | 2c13012e09190174614fd6901857a1b8c199e17d (diff) |
iommu/vt-d: Remove has_iotlb_device flag
The has_iotlb_device flag was used to indicate if a domain had attached
devices with ATS enabled. Domains without this flag didn't require device
TLB invalidation during unmap operations, optimizing performance by
avoiding unnecessary device iteration.
With the introduction of cache tags, this flag is no longer needed. The
code to iterate over attached devices was removed by commit 06792d067989
("iommu/vt-d: Cleanup use of iommu_flush_iotlb_psi()").
Remove has_iotlb_device to avoid unnecessary code.
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240809055431.36513-5-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions