diff options
| author | 2021-05-27 14:47:47 -0500 | |
|---|---|---|
| committer | 2021-06-03 15:53:01 -0300 | |
| commit | 0a67c46d2e9926c8214ed87e57fe51f044203612 (patch) | |
| tree | b74214cfe00d3e3636698412787d94c4669e2566 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | RDMA/rxe: Add a type flag to rxe_queue structs (diff) | |
RDMA/rxe: Protect user space index loads/stores
Modify the queue APIs to protect all user space index loads with
smp_load_acquire() and all user space index stores with
smp_store_release(). Base this on the types of the queues which can be one
of ..KERNEL, ..FROM_USER, ..TO_USER. Kernel space indices are protected by
locks which also provide memory barriers.
Link: https://lore.kernel.org/r/20210527194748.662636-3-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
