]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srpt: Micro-optimize I/O context state manipulation
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 8 Jan 2018 19:00:51 +0000 (11:00 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 8 Jan 2018 21:05:12 +0000 (16:05 -0500)
commitba7de039d68272795dc6b9926212fae851968f4f
treeb0401a467346a44250ad53aaa51ec5f1eb8ccc18
parent2d66384dc90984c61787206b29c53fb7b039b6c4
IB/srpt: Micro-optimize I/O context state manipulation

Since all I/O context state changes are already serialized, it is
not necessary to protect I/O context state changes with the I/O
context spinlock. Hence remove that spinlock.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h