Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755853AbZJUW17 (ORCPT ); Wed, 21 Oct 2009 18:27:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755737AbZJUW17 (ORCPT ); Wed, 21 Oct 2009 18:27:59 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:43843 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755700AbZJUW16 (ORCPT ); Wed, 21 Oct 2009 18:27:58 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=xonlkxq38KQnp9DHtd0AIdAZv/7vhGfjPuu15WHUQ8QuZtVHGc9vHmL7moufdZNd0D hPEzkz6oD/NWVyYJbYMj/Gkvh9xR52dyFjrsCHKF3NNzW5pk1FREEUw/PE8Qldc9d0aw d3s3O1quNn2AwTZx5ggZoGjwcUmSz4pfENoUQ= Date: Thu, 22 Oct 2009 00:27:59 +0200 From: Frederic Weisbecker To: John Kacur Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Thomas Gleixner , Alan Cox , Ingo Molnar Subject: Re: [PATCH] sony_pi: Remove the BKL from sonypi_misc_open Message-ID: <20091021222758.GG4880@nowhere> References: <200910200000.24574.arnd@arndb.de> <200910200008.57468.arnd@arndb.de> <20091021213139.GC4880@nowhere> <20091021215553.GE4880@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1171 Lines: 33 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/