commit | 879aa24d6394aa04b690a600a41ff500441ad384 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Fri Nov 26 06:47:28 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Dec 01 20:10:19 2010 -0200 |
tree | 024886e8a84ab3f7e88c1e2c5aeceae28cc344bb | |
parent | 2877842de8cbf6272b0a851cb12587b7dd8c2afb [diff] |
[media] V4L: improve the BKL replacement heuristic The BKL replacement mutex had some serious performance side-effects on V4L drivers. It is replaced by a better heuristic that works around the worst of the side-effects. Read the v4l2-dev.c comments for the whole sorry story. This is a temporary measure only until we can convert all v4l drivers to use unlocked_ioctl. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>