aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHillf Danton <[email protected]>2010-11-30 16:18:17 -0800
committerJames Bottomley <[email protected]>2010-12-21 12:24:19 -0600
commit2034c19ce8f8503aa14cb1e763fbfe60316aaa8e (patch)
treea041e219fe6342d6268d71581d94c02073f681f6 /include
parent8236554a27af870ecd1cd588d9558ccdc212037b (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')
0 files changed, 0 insertions, 0 deletions