Re: [PATCH 16/16] rxrpc: Replace smp_read_barrier_depends() with lockless_dereference()

From: David Howells
Date: Thu Nov 13 2014 - 15:47:42 EST


Pranith Kumar <bobby.prani@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/