commit | b3589fd49067bab9fe0c60430860e6befbd5ba37 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Sat Jun 17 20:37:30 2006 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Jun 17 20:37:30 2006 -0700 |
tree | be054dba4fd5d39e4af03d18e1d57d3b88033ca7 | |
parent | 549c5fc2c8149498118f2494a1b6a4938ca05985 [diff] |
IB/srp: Change target_mutex to a spinlock The SRP driver never sleeps while holding target_mutex, and it's just used to protect some simple list operations, so hold times will be short. So just convert it to a spinlock, which is smaller and faster. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Roland Dreier <rolandd@cisco.com>