Re: [PATCH] video4linux: Push down the BKL

From: Mike Isely
Date: Sun May 25 2008 - 19:47:06 EST


On Thu, 22 May 2008, Alan Cox wrote:

> For most drivers the generic ioctl handler does the work and we update it
> and it becomes the unlocked_ioctl method. Older drivers use the usercopy
> method so we make it do the work. Finally there are a few special cases.
>
> Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

The pvrusb2 driver already should not require the BKL. Though since
this driver (like every V4L driver) is using video_usercopy() then it's
obviously going along for the ride here with respect to the overall
issue here in pushing the lock down into video_usercopy(). In the mean
time, for the pvrusb2 portion of this patch...

Acked-By: Mike Isely <isely@xxxxxxxxx>

-Mike

--

Mike Isely
isely @ pobox (dot) com
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/