Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754057Ab0GMDf1 (ORCPT ); Mon, 12 Jul 2010 23:35:27 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:41483 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752349Ab0GMDfZ (ORCPT ); Mon, 12 Jul 2010 23:35:25 -0400 Date: Mon, 12 Jul 2010 20:35:40 -0700 (PDT) Message-Id: <20100712.203540.26940801.davem@davemloft.net> To: arnd@arndb.de Cc: linux-kernel@vger.kernel.org, jkacur@redhat.com, fweisbec@gmail.com, isdn@linux-pingi.de, netdev@vger.kernel.org Subject: Re: [PATCH 02/12] isdn: autoconvert trivial BKL users to private mutex From: David Miller In-Reply-To: <1278883143-29035-3-git-send-email-arnd@arndb.de> References: <1278883143-29035-1-git-send-email-arnd@arndb.de> <1278883143-29035-3-git-send-email-arnd@arndb.de> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 926 Lines: 26 From: Arnd Bergmann Date: Sun, 11 Jul 2010 23:18:53 +0200 > All these files use the big kernel lock in a trivial > way to serialize their private file operations, > typically resulting from an earlier semi-automatic > pushdown from VFS. > > None of these drivers appears to want to lock against > other code, and they all use the BKL as the top-level > lock in their file operations, meaning that there > is no lock-order inversion problem. > > Consequently, we can remove the BKL completely, > replacing it with a per-file mutex in every case. > Using a scripted approach means we can avoid > typos. ... > Signed-off-by: Arnd Bergmann Applied. -- 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/