]> git.karo-electronics.de Git - linux-beck.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)
commit4c413128a6ff3af013bd1d82860a7ee60f93fb28
tree24f139f6e806b5942134bf02a1b3fa43d0777c93
parent4fa604e13bb2a6ef6e89224c80d96af385f533c3
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