[RFC PATCHES] First version of the V4L2 core locking patches

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

 



Hi all,

I've made a first version of the core locking patches available here:

http://git.linuxtv.org/hverkuil/v4l-dvb.git?a=shortlog;h=refs/heads/test

I'm actually surprised how trivial the patches are. Which makes me wonder if
I am overlooking something, it feels too easy.

One thing I did not yet have time to analyze fully is if it is really OK to
unlock/relock the vdev_lock in videobuf_waiton. I hope it is, because without
this another thread will find it impossible to access the video node while it
is in waiton.

Currently I've only tested with vivi. I hope to be able to spend more time
this week for a more thorough analysis and converting a few more drivers to
this.

In the meantime, please feel free to shoot at this code!

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco
--
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