commit | a07d29c6724a19eab120b7a74a9bfd107d20f69a | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Fri Jan 26 01:36:38 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 29 12:02:54 2018 -0500 |
tree | bbfcf81f49ba2ddfc7e1ab33156dbb95757c1466 | |
parent | f417dc28185d7fdce567821862fcbf9222058cb7 [diff] |
ptr_ring: prevent queue load/store tearing In theory compiler could tear queue loads or stores in two. It does not seem to be happening in practice but it seems easier to convert the cases where this would be a problem to READ/WRITE_ONCE than worry about it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>