lkml.org 
[lkml]   [2008]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] video4linux: Push down the BKL
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@redhat.com>

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@pobox.com>

-Mike

--

Mike Isely
isely @ pobox (dot) com
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8


\
 
 \ /
  Last update: 2008-05-26 01:49    [from the cache]
©2003-2011 Jasper Spaans