[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100712.203540.26940801.davem@davemloft.net>
Date: Mon, 12 Jul 2010 20:35:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: linux-kernel@...r.kernel.org, jkacur@...hat.com,
fweisbec@...il.com, isdn@...ux-pingi.de, netdev@...r.kernel.org
Subject: Re: [PATCH 02/12] isdn: autoconvert trivial BKL users to private
mutex
From: Arnd Bergmann <arnd@...db.de>
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 <arnd@...db.de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists