diff options
| author | Sebastian Sanchez <sebastian.sanchez@intel.com> | 2016-10-25 13:12:34 -0700 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2016-11-15 16:37:27 -0500 |
| commit | 8af8d2970ed98493a2db88dfcad88b0065e55e79 (patch) | |
| tree | 57841ee0bdf580dc5c23fe6de9a52dfe20cf005d /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 2474d775d9e2f935ff6840c8b21b4262afacc821 (diff) | |
IB/hfi1: Optimize pio_buf and send_context structs
Both pio_buf and send_context structs have oversized
fields and have cachelines that can be optimized.
Reduce oversized fields for both structs.
Make sure pio_buf struct fits within a cacheline.
Move read-only fields to their own cacheline in
send_context struct.
All of this will avoid cacheline trading as the ring
progresses and pio buffers/send contexts are used.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
