kernel_optimize_test/arch/x86_64
Mike Waychison 5b20192727 [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 <mikew@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-22 09:19:52 -07:00
..
boot
crypto
ia32 [PATCH] x86_64: Pass -32 to the assembler when compiling the 32bit vsyscall pages 2006-04-22 09:19:52 -07:00
kernel [PATCH] x86_64: Fix a race in the free_iommu path 2006-04-22 09:19:52 -07:00
lib
mm [PATCH] x86_64: sparsemem does not need node_mem_map 2006-04-22 09:19:52 -07:00
oprofile
pci [PATCH] x86_64: Fix embarassing typo in mmconfig bus check 2006-04-11 06:38:57 -07:00
defconfig [PATCH] x86_64: Update defconfig 2006-04-18 10:39:19 -07:00
Kconfig
Kconfig.debug
Makefile