From: Shai Fultheim Date: Thu, 19 Apr 2012 22:12:32 +0000 (+0300) Subject: x86: Conditionally update time when ack-ing pending irqs X-Git-Tag: v3.2.65~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9f1417be9acae3a9867f8bdab2b7924d76cf6ac;p=pandora-kernel.git x86: Conditionally update time when ack-ing pending irqs commit 42fa4250436304d4650fa271f37671f6cee24e08 upstream. On virtual environments, apic_read could take a long time. As a result, under certain conditions the ack pending loop may exit without any queued irqs left, but after more than one second. A warning will be printed needlessly in this case. If the loop is about to exit regardless of max_loops, don't update it. Signed-off-by: Shai Fultheim [ rebased and reworded the commit message] Signed-off-by: Ido Yariv Acked-by: Thomas Gleixner Link: http://lkml.kernel.org/r/1334873552-31346-1-git-send-email-ido@wizery.com Signed-off-by: Ingo Molnar Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed