RE: [PATCH rdma-next] RDMA/rdmavt: Decouple QP and SGE lists allocations
From: Marciniszyn, Mike
Date: Wed May 12 2021 - 08:23:13 EST
> - struct rvt_sge r_sg_list[] /* verified SGEs */
> + struct rvt_sge *r_sg_list /* verified SGEs */
> ____cacheline_aligned_in_smp;
> };
>
Since since has been made an independent allocation, r_sg_list becomes a read-mostly pointer and should be moved up in rvt_qp to other 64 bit fields around timeout_jiffies.
The cacheline can then be dropped for this field.
Mike