diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2015-12-07 15:39:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-21 14:00:17 -0800 |
commit | a054374f15428cbc1d9cb9cba17ce870eaa7d60f (patch) | |
tree | 07dd3a9d52cb4c409fd799c65ab93e699a6e4c2f /drivers/staging/rdma/ehca/ehca_mrmw.c | |
parent | staging/rdma/hfi1: fix sdma build failures to always clean up (diff) | |
download | linux-dev-a054374f15428cbc1d9cb9cba17ce870eaa7d60f.tar.xz linux-dev-a054374f15428cbc1d9cb9cba17ce870eaa7d60f.zip |
staging/rdma/hfi1: convert buffers allocated atomic to per cpu
Profiling has shown the the atomic is a performance issue
for the pio hot path.
If multiple cpus allocated an sc's buffer, the cacheline
containing the atomic will bounce from L0 to L0.
Convert the atomic to a percpu variable.
Reviewed-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rdma/ehca/ehca_mrmw.c')
0 files changed, 0 insertions, 0 deletions