diff options
| author | Manfred Spraul <[email protected]> | 2020-02-03 17:34:39 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-02-04 03:05:24 +0000 |
| commit | 0d97a82ba830d89a1e541cc9cd11f1e38c28e416 (patch) | |
| tree | c1b3744d565e32553c64dd6d6fba604b14afeba6 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | c5b2cbdbdac563f46ecd5e187253ab1abbd6fc04 (diff) | |
ipc/msg.c: update and document memory barriers
Transfer findings from ipc/mqueue.c:
- A control barrier was missing for the lockless receive case So in
theory, not yet initialized data may have been copied to user space -
obviously only for architectures where control barriers are not NOP.
- use smp_store_release(). In theory, the refount may have been
decreased to 0 already when wake_q_add() tries to get a reference.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Manfred Spraul <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions