[PATCH 0/5] [FOR 2.6.37] uvcvideo: BKL removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,

Here are 5 patches to the uvcvideo driver that implements proper locking where
it was missing and switch from ioctl to unlocked_ioctl, getting rid of the BKL.

As locking can be tricky, patch review would be appreciated.

Laurent Pinchart (5):
  uvcvideo: Lock controls mutex when querying menus
  uvcvideo: Move mutex lock/unlock inside uvc_free_buffers
  uvcvideo: Move mmap() handler to uvc_queue.c
  uvcvideo: Lock stream mutex when accessing format-related information
  uvcvideo: Convert to unlocked_ioctl

 drivers/media/video/uvc/uvc_ctrl.c  |   48 +++++++++-
 drivers/media/video/uvc/uvc_queue.c |  133 +++++++++++++++++++++-----
 drivers/media/video/uvc/uvc_v4l2.c  |  183 +++++++++++------------------------
 drivers/media/video/uvc/uvc_video.c |    3 -
 drivers/media/video/uvc/uvcvideo.h  |   10 ++-
 5 files changed, 221 insertions(+), 156 deletions(-)

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux