Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vhost: reduce memory footprint when IOMMU is disabled #43

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

yajwu
Copy link
Collaborator

@yajwu yajwu commented Nov 8, 2023

If an application does not request IOMMU support, we can avoid allocating a IOMMU pool.

This saves 112kB (IOTLB_CACHE_SIZE * sizeof(struct vhost_iotlb_entry)) per vq.

Reviewed-by: Chenbo Xia chenbo.xia@intel.com

If an application does not request IOMMU support, we can avoid
allocating a IOMMU pool.

This saves 112kB (IOTLB_CACHE_SIZE * sizeof(struct vhost_iotlb_entry))
per vq.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
@kailiangz1 kailiangz1 merged commit 3263b1b into Mellanox:main Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants