diff options
author | 2009-12-10 09:59:26 -0800 | |
---|---|---|
committer | 2009-12-12 16:30:33 -0600 | |
commit | c1ecb90a66c5afc7cc5c9349f9c3714eef4a5cfb (patch) | |
tree | 9240283c872e0c110c0fef2e424180fc62bed487 /mm/page_alloc.c | |
parent | [SCSI] libfc: remote port gets stuck in restart state without really restarting (diff) | |
download | linux-rng-c1ecb90a66c5afc7cc5c9349f9c3714eef4a5cfb.tar.xz linux-rng-c1ecb90a66c5afc7cc5c9349f9c3714eef4a5cfb.zip |
[SCSI] libfc: reduce hold time on SCSI host lock
Introduce a new lock to protect the list of fc_fcp_pkt structs in libfc
instead of using the host lock. This reduces the contention of this heavily
used lock, and I see up to a 25% performance gain in CPU bound small I/O
tests when scaling out across multiple quad-core CPUs.
The big win is in removing the host lock from the completion path
completely, as it does not need to be held around the call to scsi_done.
Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions