]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/amd: Convert IOMMUv2 state_table into state_list
authorJoerg Roedel <jroedel@suse.de>
Tue, 20 May 2014 21:18:23 +0000 (23:18 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 May 2014 09:28:12 +0000 (11:28 +0200)
commit741669c765c45cace9bd630f7c8c8047c8b33567
tree9d8d9304cf6e58a9b43729e1a852250d526ca2d9
parentb87d2d7c0b3507b6b17590d741b5be01e8a21b84
iommu/amd: Convert IOMMUv2 state_table into state_list

The state_table consumes 512kb of memory and is only sparsly
populated. Convert it into a list to save memory. There
should be no measurable performance impact.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Jay Cornwall <Jay.Cornwall@amd.com>
drivers/iommu/amd_iommu_v2.c