diff options
author | Tung Nguyen <[email protected]> | 2019-02-19 11:20:48 +0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-02-21 13:58:05 -0800 |
commit | 48766a583c7961af080de2df692f476624a9a21a (patch) | |
tree | 2ebebb66de46f9d47e2a65ce00b93da76c7a69d9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 223b7329ec6a0dae1b7f7db7b770e93f4a069ef9 (diff) |
tipc: improve function tipc_wait_for_rcvmsg()
This commit replaces schedule_timeout() with wait_woken()
in function tipc_wait_for_rcvmsg(). wait_woken() uses
memory barriers in its implementation to avoid potential
race condition when putting a process into sleeping state
and then waking it up.
Acked-by: Ying Xue <[email protected]>
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: Tung Nguyen <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions