diff options
author | Peter Zijlstra <[email protected]> | 2014-03-13 19:00:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-04-18 14:20:42 +0200 |
commit | 0e530747c69f1e191f101a925bb4051894e5c7b0 (patch) | |
tree | dba0d885403109b8a5857bf59890dfe6b6cd077c /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | c645073f7e4f073e1ebcd0f0d91652c4468b8364 (diff) |
arch,s390: Convert smp_mb__*()
As per the existing implementation; implement the new one using
smp_mb().
AFAICT the s390 compare-and-swap does imply a barrier, however there
are some immediate ops that seem to be singly-copy atomic and do not
imply a barrier. One such is the "ni" op (which would be
and-immediate) which is used for the constant clear_bit
implementation. Therefore s390 needs full barriers for the
{before,after} atomic ops.
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Cc: Chen Gang <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions