]> 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)
commit09a96c74b05ac23832467ffc10b14c45c555f5f2
treeb0401a467346a44250ad53aaa51ec5f1eb8ccc18
parent34df188ccdfb3b75f7c90df229ad130681df38b2
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