lkml.org 
[lkml]   [2009]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sony_pi: Remove the BKL from sonypi_misc_open
On Thu, Oct 22, 2009 at 12:06:32AM +0200, John Kacur wrote:
> Okay, I'm sure there is something wrong in this methodology, but it's late
> at night. At least for a ballpark figure, hopefully it's right.
>
> Files that mentions "file_operations" -
> Files that mention "file_operations" and mention "llseek"
> = 1172 - 596 = 572 (in my particular git repo)
>
> So, over 550 files that need to be set to no_llseek, locked_llseek, or
> unlocked_llseek. Yikes!
>
> [jkacur@tycho rt.linux.git]$ git-grep -l file_operations | grep -v
> Documentation | wc -l
> 1172
> [jkacur@tycho rt.linux.git]$ git-grep -l llseek $(git-grep -l
> file_operations | grep -v Documentation) | wc -l
> 596
>


So much?

Ok, a default_lseek pushdown patch wouldn't be accepted :)

Well, I guess we first need to fix the sites that explicitly use the
bkl, one by one, and after that probably propose a new locked version but
without the bkl...



\
 
 \ /
  Last update: 2009-10-22 00:31    [W:0.049 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site