diff options
| author | Bob Pearson <[email protected]> | 2021-05-27 14:47:47 -0500 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-06-03 15:53:01 -0300 |
| commit | 0a67c46d2e9926c8214ed87e57fe51f044203612 (patch) | |
| tree | b74214cfe00d3e3636698412787d94c4669e2566 /tools/perf/scripts/python | |
| parent | 59daff49f25fbb3197c03c879e23a31ddd23d98f (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/[email protected]
Signed-off-by: Bob Pearson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions