]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
AMD IOMMU: add branch hints to completion wait checks
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 4 Sep 2008 17:01:02 +0000 (19:01 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:08 +0000 (12:59 +0200)
commit5507eef835c9c941e69d6d96e4b43af23eeb4ac9
tree3072e37193035e1f2ff6a37e265a8bddadbad640
parent1c65577398589bb44ab0980f9b9d30804b48a5db
AMD IOMMU: add branch hints to completion wait checks

This patch adds branch hints to the cecks if a completion_wait is
necessary. The completion_waits in the mapping paths are unlikly because
they will only happen on software implementations of AMD IOMMU which
don't exists today or with lazy IO/TLB flushing when the allocator wraps
around the address space. With lazy IO/TLB flushing the completion_wait
in the unmapping path is unlikely too.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu.c