diff options
| author | Hillf Danton <[email protected]> | 2010-11-30 16:18:17 -0800 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2010-12-21 12:24:19 -0600 |
| commit | 2034c19ce8f8503aa14cb1e763fbfe60316aaa8e (patch) | |
| tree | a041e219fe6342d6268d71581d94c02073f681f6 /include/linux | |
| parent | 8236554a27af870ecd1cd588d9558ccdc212037b (diff) | |
[SCSI] libfc: tune fc_exch_em_alloc() to be O(2)
For allocating new exch from pool, scanning for free slot in exch
array fluctuates when exch pool is close to exhaustion.
The fluctuation is smoothed, and the scan looks to be O(2).
Signed-off-by: Hillf Danton <[email protected]>
Signed-off-by: Robert Love <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions