commit | a054374f15428cbc1d9cb9cba17ce870eaa7d60f | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | Mon Dec 07 15:39:22 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 21 14:00:17 2015 -0800 |
tree | 07dd3a9d52cb4c409fd799c65ab93e699a6e4c2f | |
parent | a5a9e8ccab4d24c7d9e1da8222f373688745ca6a [diff] |
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>