| From | David Howells <> | Subject | Re: [PATCH 16/16] rxrpc: Replace smp_read_barrier_depends() with lockless_dereference() | Date | Thu, 13 Nov 2014 20:47:26 +0000 |
| |
Pranith Kumar <bobby.prani@gmail.com> wrote:
> Recently lockless_dereference() was added which can be used in place of > hard-coding smp_read_barrier_depends(). The following PATCH makes the change.
Actually, the use of smp_read_barrier_depends() is wrong in circular buffering. See Documentation/circular-buffers.txt
David
|