diff options
author | Shai Fultheim <[email protected]> | 2012-04-20 01:12:32 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-05-07 16:25:28 +0200 |
commit | 42fa4250436304d4650fa271f37671f6cee24e08 (patch) | |
tree | 72f1dfa918bef82a519af8d1c0a57a9d3b30735b /lib/mpi/mpi-add.c | |
parent | 22042c086c1b6814b9f3ecf2720f6280bede9c47 (diff) |
x86: Conditionally update time when ack-ing pending irqs
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 <[email protected]>
[ rebased and reworded the commit message]
Signed-off-by: Ido Yariv <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions