diff options
| author | Robert Elliott <[email protected]> | 2015-01-23 16:43:41 -0600 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2015-02-02 09:57:41 -0800 |
| commit | 33811026a0a4208dd5725183d37fc92d5e88b0a2 (patch) | |
| tree | 3ee9c60da0de30a40ea02be9db13b5c75fcb0ea4 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 281a7fd03ea37c979bbba4d8376595c0288e3252 (diff) | |
hpsa: optimize cmd_alloc function by remembering last allocation
Empirically, this improves performance slightly (~2% max IOPS) by
allowing cmd_alloc to remember where it left off searching for
free commands between calls instead of always starting its search
at command 0.
Reviewed-by: Scott Teel <[email protected]>
Signed-off-by: Robert Elliott <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions