projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
524feca
)
perf: Update a stale comment
author
Peter Zijlstra
<peterz@infradead.org>
Thu, 31 Oct 2013 16:41:23 +0000
(17:41 +0100)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 6 Nov 2013 11:34:23 +0000
(12:34 +0100)
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Michael Ellerman <michael@ellerman.id.au>
Cc: Michael Neuling <mikey@neuling.org>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: james.hogan@imgtec.com
Cc: Vince Weaver <vince@deater.net>
Cc: Victor Kaplansky <VICTORK@il.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Anton Blanchard <anton@samba.org>
Link:
http://lkml.kernel.org/n/tip-9s5mze78gmlz19agt39i8rii@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/ring_buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/events/ring_buffer.c
b/kernel/events/ring_buffer.c
index c52a32fa5592c60ba8ebd26c58a73c2fe7e2e69e..e8b168af135ba3ec7d72c780746ce02f051be2e3 100644
(file)
--- a/
kernel/events/ring_buffer.c
+++ b/
kernel/events/ring_buffer.c
@@
-85,8
+85,8
@@
again:
rb->user_page->data_head = head;
/*
- * Now check if we missed an update
, rely on the (compiler)
- *
barrier in atomic_dec_and_test() to re-read rb->h
ead.
+ * Now check if we missed an update
-- rely on previous implied
+ *
compiler barriers to force a re-r
ead.
*/
if (unlikely(head != local_read(&rb->head))) {
local_inc(&rb->nest);