From: Joerg Roedel Date: Thu, 4 Sep 2008 17:01:02 +0000 (+0200) Subject: AMD IOMMU: add branch hints to completion wait checks X-Git-Tag: v2.6.28-rc1~712^2^4~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5507eef835c9c941e69d6d96e4b43af23eeb4ac9;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed