aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2010-11-26 09:54:53 +0000
committerMauro Carvalho Chehab <[email protected]>2010-12-01 22:10:20 +0000
commitca9afe6f87b569cdf8e797395381f18ae23a2905 (patch)
tree9c5475baf2bb90f05fe25e8ca6fa8f53c2fc05dc /tools/perf/scripts/python/sched-migration.py
parent[media] V4L: improve the BKL replacement heuristic (diff)
downloadkernel-ca9afe6f87b569cdf8e797395381f18ae23a2905.tar.gz
kernel-ca9afe6f87b569cdf8e797395381f18ae23a2905.zip
[media] v4l2-dev: fix race condition
The unregister function had a race condition with the v4l2_open function. Ensure that both functions test and clear the REGISTER flag from within a critical section. Thanks to Laurent Pinchart for finding this race. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions