diff options
author | Soeren Moch <[email protected]> | 2016-05-11 13:49:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2016-07-09 07:57:47 -0300 |
commit | ca6e6126db5494f18c6c6615060d4d803b528bff (patch) | |
tree | 7f58346a04a40eb967699f28e13041580da271bb /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 65ad26cdfdf119be3e382ec9d05916cfc7c6be61 (diff) |
[media] media: dvb_ringbuffer: Add memory barriers
Implement memory barriers according to Documentation/circular-buffers.txt:
- use smp_store_release() to update ringbuffer read/write pointers
- use smp_load_acquire() to load write pointer on reader side
- use ACCESS_ONCE() to load read pointer on writer side
This fixes data stream corruptions observed e.g. on an ARM Cortex-A9
quad core system with different types (PCI, USB) of DVB tuners.
Signed-off-by: Soeren Moch <[email protected]>
Cc: [email protected] # 3.14+
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions