diff options
| author | Mike Waychison <[email protected]> | 2006-04-22 02:36:06 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-04-22 09:19:52 -0700 |
| commit | 5b20192727ef2c047343a043ee4fbda67e2beef4 (patch) | |
| tree | 7b0e7e5c1945685ad911add33e0baeb301b9729d /scripts/basic/split-include.c | |
| parent | ddbe3eec596fc2c6a513717168217bd19c901880 (diff) | |
[PATCH] x86_64: Fix a race in the free_iommu path
We do this by removing a micro-optimization that tries to avoid grabbing
the iommu_bitmap_lock spinlock and using a bus-locked operation.
This still races with other simultaneous alloc_iommu or free_iommu(size >
1) which both use bus-unlocked operations.
The end result of this race is eventually ending up with an
iommu_gart_bitmap that has bits errornously set all over, making large
contiguous iommu space allocations fail with 'PCI-DMA: Out of IOMMU space'.
Signed-off-by: Mike Waychison <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions