diff options
author | Davidlohr Bueso <[email protected]> | 2018-07-26 16:37:19 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-07-26 19:38:03 -0700 |
commit | f075faa300acc4f6301e348acde0a4580ed5f77c (patch) | |
tree | f2463b201b1785fd6af3cdd52bcf932267a85e92 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 15d36fecd0bdc7510b70a0e5ec6671140b3fce0c (diff) |
ipc/sem.c: prevent queue.status tearing in semop
In order for load/store tearing prevention to work, _all_ accesses to
the variable in question need to be done around READ and WRITE_ONCE()
macros. Ensure everyone does so for q->status variable for
semtimedop().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions