Commit 88ed9dd7 authored by Cliff Wickman's avatar Cliff Wickman Committed by Ingo Molnar

x86/UV2: Ack BAU interrupt earlier

This patch moves the ack of the BAU interrupt to the beginning
of  the interrupt handler so that there is less possibility of a
lost interrupt and slower response to a shootdown message.
Signed-off-by: default avatarCliff Wickman <cpw@sgi.com>
Link: http://lkml.kernel.org/r/20120116212146.GE5767@sgi.comSigned-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 478c6e52
...@@ -1218,6 +1218,7 @@ void uv_bau_message_interrupt(struct pt_regs *regs) ...@@ -1218,6 +1218,7 @@ void uv_bau_message_interrupt(struct pt_regs *regs)
struct ptc_stats *stat; struct ptc_stats *stat;
struct msg_desc msgdesc; struct msg_desc msgdesc;
ack_APIC_irq();
time_start = get_cycles(); time_start = get_cycles();
bcp = &per_cpu(bau_control, smp_processor_id()); bcp = &per_cpu(bau_control, smp_processor_id());
...@@ -1247,8 +1248,6 @@ void uv_bau_message_interrupt(struct pt_regs *regs) ...@@ -1247,8 +1248,6 @@ void uv_bau_message_interrupt(struct pt_regs *regs)
stat->d_nomsg++; stat->d_nomsg++;
else if (count > 1) else if (count > 1)
stat->d_multmsg++; stat->d_multmsg++;
ack_APIC_irq();
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment