]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit24fcc6b7f8f65dd56ce447c1f46ce59ccb1ef539
tree725809ab8f69e6df498ae51b58193d9fa38f702b
parent6bb1284bc1d4c49e5efbca41b308dc8a82d7fe88
[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