summaryrefslogtreecommitdiff
path: root/drivers/dio/dio.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-07-21 11:41:21 +0300
committerJoerg Roedel <jroedel@suse.de>2015-08-12 17:23:33 +0300
commit8bf478163e69e42973c7070179a11815139e5bf0 (patch)
treeea64f7177aa39fc71a0847687e8dd3c34fdd6fa7 /drivers/dio/dio.c
parent9452d5bfe5c3df6befb89835d2c44920e03bd390 (diff)
downloadlinux-8bf478163e69e42973c7070179a11815139e5bf0.tar.xz
iommu/vt-d: Split up iommu->domains array
This array is indexed by the domain-id and contains the pointers to the domains attached to this iommu. Modern systems support 65536 domain ids, so that this array has a size of 512kb, per iommu. This is a huge waste of space, as the array is usually sparsely populated. This patch makes the array two-dimensional and allocates the memory for the domain pointers on-demand. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/dio/dio.c')
0 files changed, 0 insertions, 0 deletions