Commit 81c5d12
bpf: relax acquire for consumer_pos in ringbuf_process_ring()
Since r->consumer_pos is modified only by the user thread
in the given ringbuf context (and as such, it is thread-local)
it does not require a load-acquire.
Signed-off-by: Soham Bagchi <[email protected]>1 parent 6217ef6 commit 81c5d12
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments