diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-05-14 11:28:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 15:06:25 -0300 |
commit | 47bd4bc1a2624939c9f4ba154a2c18abe9d6c614 (patch) | |
tree | 7fe3b434161fef4305db7b508d7edd294c981140 /Documentation/video4linux/v4l2-framework.txt | |
parent | 74f22c48640cf39df1f9cbf4fac07f5fcd365a48 (diff) | |
download | kernel_goldelico_gta04-47bd4bc1a2624939c9f4ba154a2c18abe9d6c614.zip kernel_goldelico_gta04-47bd4bc1a2624939c9f4ba154a2c18abe9d6c614.tar.gz kernel_goldelico_gta04-47bd4bc1a2624939c9f4ba154a2c18abe9d6c614.tar.bz2 |
[media] v4l2-dev.h: add comment not to use V4L2_FL_LOCK_ALL_FOPS in new drivers
This flag is for legacy drivers only and will go away in the future.
A note regarding commit 5126f2590bee412e3053de851cb07f531e4be36a
(v4l2-dev: add flag to have the core lock all file operations):
That commit message suggests that by not taking the core lock for fops
other than unlocked_ioctl all problems relating to AB-BA locking and
mm->mmap_sem are solved. This is not the case.
More work needs to be done by moving the core lock further down into
video_ioctl2. It should only be taken after the copy_from/to_user calls
are done.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/video4linux/v4l2-framework.txt')
0 files changed, 0 insertions, 0 deletions