Files
Linux/include/uapi/linux
Peter Zijlstra bf378d341e perf: Fix perf ring buffer memory ordering
The PPC64 people noticed a missing memory barrier and crufty old
comments in the perf ring buffer code. So update all the comments and
add the missing barrier.

When the architecture implements local_t using atomic_long_t there
will be double barriers issued; but short of introducing more
conditional barrier primitives this is the best we can do.

Reported-by: Victor Kaplansky <[email protected]>
Tested-by: Victor Kaplansky <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: [email protected]
Cc: Paul McKenney <[email protected]>
Cc: Michael Neuling <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
2013-10-29 12:01:19 +01:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-26 16:08:16 +10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-09-05 20:46:06 -04:00
2013-08-02 12:33:54 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-06-24 16:39:05 -07:00
…
…
…
…
2013-08-31 22:30:00 -04:00
…
…
2013-08-13 15:10:22 -07:00
…
…
2013-08-21 12:21:45 -07:00
…
…
…
…
2013-09-04 13:12:43 -04:00
2013-09-04 13:12:43 -04:00
…
…
2013-06-26 18:01:46 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-07-09 10:33:25 -07:00
…
…
…
…
…
…
…
…
…
2013-04-19 14:57:57 -04:00
…
…
…
…
…
…
…
…
…
…
…
2013-08-26 14:03:13 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-07-24 17:54:48 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-09-04 11:28:04 -06:00
2013-05-02 13:40:15 +03:00
…
…
…
…
…
…