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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html