Commit f95b35c
libfc: Reduce exchange lock contention in fc_exch_recv_abts()
Reduce the time during which the exchange lock is held by allocating
a frame before obtaining the exchange lock.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>1 parent cae7b6d commit f95b35c
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
1310 | 1315 | | |
1311 | 1316 | | |
1312 | 1317 | | |
| 1318 | + | |
| 1319 | + | |
1313 | 1320 | | |
1314 | 1321 | | |
1315 | 1322 | | |
1316 | 1323 | | |
1317 | 1324 | | |
1318 | 1325 | | |
1319 | 1326 | | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | 1327 | | |
1327 | 1328 | | |
1328 | 1329 | | |
| |||
1338 | 1339 | | |
1339 | 1340 | | |
1340 | 1341 | | |
| 1342 | + | |
| 1343 | + | |
1341 | 1344 | | |
1342 | 1345 | | |
1343 | 1346 | | |
1344 | 1347 | | |
1345 | 1348 | | |
1346 | | - | |
1347 | | - | |
| 1349 | + | |
1348 | 1350 | | |
1349 | 1351 | | |
1350 | 1352 | | |
| |||
0 commit comments