Re: [PATCH] sony_pi: Remove the BKL from sonypi_misc_open

From: Frederic Weisbecker
Date: Wed Oct 21 2009 - 18:28:09 EST


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...

--
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/