From: Hans Verkuil Date: Fri, 26 Nov 2010 09:47:28 +0000 (-0300) Subject: [media] V4L: improve the BKL replacement heuristic X-Git-Tag: v2.6.37-rc7~22^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=879aa24d6394aa04b690a600a41ff500441ad384;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed