Thread (9 messages) 9 messages, 3 authors, 2021-06-03

Re: [PATCH for-next v3 0/3] Fix memory ordering errors in queues

flat view

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-05-28 20:30:03

On Thu, May 27, 2021 at 02:47:45PM -0500, Bob Pearson wrote:
These patches optimize the memory ordering in rxe_queue.h so
that user space and not kernel space indices are protected for loads
with smp_load_acquire() and stores with smp_store_release(). The
original implementation of this did not apply to all index references
which has recently caused test case errors traced to stale memory loads.
These patches fix those errors and also protect kernel indices from
malicious modification by user space.
I didn't read it carefully, but I think this captures the basic
solution

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help