Skip to content

Commit

Permalink
x86/UV2: Ack BAU interrupt earlier
Browse files Browse the repository at this point in the history
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: Cliff Wickman <cpw@sgi.com>
Link: http://lkml.kernel.org/r/20120116212146.GE5767@sgi.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Cliff Wickman authored and Ingo Molnar committed Jan 17, 2012
1 parent 478c6e5 commit 88ed9dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/platform/uv/tlb_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ void uv_bau_message_interrupt(struct pt_regs *regs)
struct ptc_stats *stat;
struct msg_desc msgdesc;

ack_APIC_irq();
time_start = get_cycles();

bcp = &per_cpu(bau_control, smp_processor_id());
Expand Down Expand Up @@ -1247,8 +1248,6 @@ void uv_bau_message_interrupt(struct pt_regs *regs)
stat->d_nomsg++;
else if (count > 1)
stat->d_multmsg++;

ack_APIC_irq();
}

/*
Expand Down

0 comments on commit 88ed9dd

Please sign in to comment.