diff options
| author | Michael J. Ruhl <[email protected]> | 2017-08-21 18:26:45 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-08-28 19:12:18 -0400 |
| commit | 7956371ea48bd00956219a82fd3af655dd216073 (patch) | |
| tree | 7279bc238b80cb372f3d6adf3b1d2cc09247d5b4 /tools/perf/scripts/python | |
| parent | de42de80d7bb4f82e30d16f5c64da90e64b6c644 (diff) | |
IB/hfi1: Improve local kmem_cache_alloc performance
Performance analysis shows that the cache callback function
sdma_kmem_cache_ctor contributes to 1/2 of the kmem_cache_allocs
time.
Since all of the fields in the allocated data structure are initialized
in the code path, remove the _ctor function.
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions