]> git.baikalelectronics.ru Git - kernel.git/commit
hpsa: remove spin lock around command allocation
authorStephen M. Cameron <stephenmcameron@gmail.com>
Fri, 14 Nov 2014 23:27:29 +0000 (17:27 -0600)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:27 +0000 (09:11 +0100)
commitb81d0daf8357d40be3cf020ee04d593aabbc69d5
tree24f139f6e806b5942134bf02a1b3fa43d0777c93
parent02e6eefaa139255153033a918d677911923ca585
hpsa: remove spin lock around command allocation

It is already using atomic test_and_set_bit to do the
allocation.

There is some microscopic chance of starvation, but it is
so microscopic that it should never happen in reality.

Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c