diff options
| author | Sebastian Sanchez <sebastian.sanchez@intel.com> | 2016-10-17 14:19:35 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2016-11-16 00:37:27 +0300 |
| commit | 6e768f0682e26e7683c4af5b0de04a2e08bc67db (patch) | |
| tree | 21b4179a223198acf1f052854bfade590a8e35bf /lib/mpi/mpi-bit.c | |
| parent | a6cd5f08e085176fe8dbd4c57217058e53dfc4d9 (diff) | |
| download | linux-6e768f0682e26e7683c4af5b0de04a2e08bc67db.tar.xz | |
IB/hfi1: Optimize devdata cachelines
Profiling shows hot path struct members that need
to be in a minimum set of cachelines.
Group these struct member in the same cacheline:
sc2vl_lock
sc2vl
rhf_rcv_function_map
rcv_limit
rhf_offset
Group these struct member in the same cacheline:
process_pio_send
process_dma_send
pport
rcd
int_counter
flags
num_pports
first_user_ctxt
Fill holes in struct hfi1_devdata revealed by pahole.
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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
