[PATCH] x86_64: Use cpu_relax in poll loop in GART IOMMU
authorAndi Kleen <ak@suse.de>
Sat, 25 Mar 2006 15:29:37 +0000 (16:29 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:10:53 +0000 (09:10 -0800)
commit85f9eebccde51e24896f31383f5b70776362e1a6
treede990ac5c7982fb05940d764b58f4ea20013c77d
parent77d910f557c44db0fa72ee856c41cdd56972cfca
[PATCH] x86_64: Use cpu_relax in poll loop in GART IOMMU

The code waits for the GART to clear the TLB flush bit. Use cpu_relax
in this time to allow hypervisors to yield the CPU in this time.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/pci-gart.c