diff options
author | 2013-11-07 14:01:57 -0500 | |
---|---|---|
committer | 2013-11-25 09:17:49 -0800 | |
commit | aebf045382edb32bd763d8edea02a559e7dc41e9 (patch) | |
tree | eeba9a7cacf8a5a14500af01eaf626839655a480 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tty: Reset hupped state on open (diff) | |
download | linux-dev-aebf045382edb32bd763d8edea02a559e7dc41e9.tar.xz linux-dev-aebf045382edb32bd763d8edea02a559e7dc41e9.zip |
n_tty: Protect minimum_to_wake reset for concurrent readers
With multiple, concurrent readers (each waiting to acquire the
atomic_read_lock mutex), a departing reader may mistakenly reset
minimum_to_wake after a new reader has already set a new value.
Protect the minimum_to_wake reset with the atomic_read_lock critical
section.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions