[SCSI] ipr: improve interrupt service routine performance
authorWayne Boyer <wayneb@linux.vnet.ibm.com>
Wed, 19 May 2010 18:56:13 +0000 (11:56 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 May 2010 16:11:06 +0000 (11:11 -0500)
commit64ffdb762241c0a9c0c8fac7ea92aa0ba1529334
tree725809ab8f69e6df498ae51b58193d9fa38f702b
parentb8803b1cef28af785c4e903b9b1449898d68c758
[SCSI] ipr: improve interrupt service routine performance

During performance testing on P7 machines it was observed that the interrupt
service routine was doing unnecessary MMIO operations.

This patch rearranges the logic of the routine and moves some of the code out
of the main routine.  The result is that there are now fewer MMIO operations in
the performance path of the code.

Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ipr.c