diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-01-25 16:33:20 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-02-09 14:50:16 +0100 |
commit | fed0764fafd8e2e629a033c0f7df4106b0dcb7f0 (patch) | |
tree | 11877084d79ccadb090b726cb280bb76e72ca4aa /include/net/scm.h | |
parent | 06bea3dbfe6a4c333c4333362c46bdf4d9e43504 (diff) |
locking/atomics: Update comment about READ_ONCE() and structures
The comment is out of data. Also point out the performance drawback
of the barrier();__builtin_memcpy(); barrier() followed by another
copy from stack (__u) to lvalue;
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1453757600-11441-1-git-send-email-konrad.wilk@oracle.com
[ Made it a bit more readable. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/net/scm.h')
0 files changed, 0 insertions, 0 deletions