aboutsummaryrefslogtreecommitdiff
path: root/net/802/stp.c
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2018-05-02 23:56:24 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-05-08 01:10:43 -0400
commit24cf43612d4d851e660ac85f36cf389650c5a3ba (patch)
tree65f5b5c58c28799abf7c287ae89fa7b4197db6af /net/802/stp.c
parent3e21d1cb0f9011225ed8aba29339ba27fc757524 (diff)
scsi: hisi_sas: optimise the usage of DQ locking
In the DQ tasklet processing it is not necessary to take the DQ lock, as there is no contention between adding slots to the CQ and removing slots from the matching DQ. In addition, since we run each DQ in a separate tasklet context, there would be no possible contention between DQ processing running for the same queue in parallel. It is still necessary to take hisi_hba lock when free'ing slots. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/802/stp.c')
0 files changed, 0 insertions, 0 deletions