summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/platform.c
diff options
context:
space:
mode:
authorSebastian Sanchez2016-10-17 13:19:35 +0200
committerDoug Ledford2016-11-15 22:37:27 +0100
commit6e768f0682e26e7683c4af5b0de04a2e08bc67db (patch)
tree21b4179a223198acf1f052854bfade590a8e35bf /drivers/infiniband/hw/hfi1/platform.c
parentIB/hfi1: Unify access to GUID entries (diff)
downloadkernel-qcow2-linux-6e768f0682e26e7683c4af5b0de04a2e08bc67db.tar.gz
kernel-qcow2-linux-6e768f0682e26e7683c4af5b0de04a2e08bc67db.tar.xz
kernel-qcow2-linux-6e768f0682e26e7683c4af5b0de04a2e08bc67db.zip
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 'drivers/infiniband/hw/hfi1/platform.c')
0 files changed, 0 insertions, 0 deletions