From: Jesper Nilsson <Jesper.Nilsson@axis.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
John Kacur <jkacur@redhat.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
linux-cris-kernel <linux-cris-kernel@axis.com>
Subject: Re: [PATCH 07/12] cris: autoconvert trivial BKL users to private mutex
Date: Fri, 30 Jul 2010 19:20:05 +0200 [thread overview]
Message-ID: <20100730172005.GE9784@axis.com> (raw)
In-Reply-To: <1278883143-29035-8-git-send-email-arnd@arndb.de>
On Sun, Jul 11, 2010 at 11:18:58PM +0200, Arnd Bergmann wrote:
> 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.
Thanks, added to the cris-tree.
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
next prev parent reply other threads:[~2010-07-30 17:20 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-11 21:18 [PATCH 00/12] autoconvert trivial BKL users to private mutex Arnd Bergmann
2010-07-11 21:18 ` Arnd Bergmann
2010-07-11 21:18 ` Arnd Bergmann
2010-07-11 21:18 ` [PATCH 01/12] staging: " Arnd Bergmann
2010-07-13 8:27 ` Martyn Welch
2010-07-13 11:46 ` Arnd Bergmann
2010-07-11 21:18 ` [PATCH 02/12] isdn: " Arnd Bergmann
2010-07-13 3:35 ` David Miller
2010-07-11 21:18 ` [PATCH 03/12] scsi: " Arnd Bergmann
2010-07-11 21:18 ` [PATCH 04/12] media: " Arnd Bergmann
2010-07-11 21:18 ` [PATCH 05/12] usb: " Arnd Bergmann
2010-07-11 21:18 ` [PATCH 06/12] net: " Arnd Bergmann
2010-07-13 3:35 ` David Miller
2010-07-11 21:18 ` [PATCH 07/12] cris: " Arnd Bergmann
2010-07-30 17:20 ` Jesper Nilsson [this message]
2010-07-11 21:18 ` [PATCH 08/12] sbus: " Arnd Bergmann
2010-07-21 6:37 ` David Miller
2010-07-11 21:19 ` [PATCH 09/12] mtd: " Arnd Bergmann
2010-07-11 21:19 ` Arnd Bergmann
2010-07-11 21:19 ` [PATCH 10/12] mac: " Arnd Bergmann
2010-07-11 21:19 ` Arnd Bergmann
2010-07-11 21:19 ` [PATCH 11/12] ipmi: " Arnd Bergmann
2010-07-11 21:19 ` [PATCH 12/12] drivers: " Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100730172005.GE9784@axis.com \
--to=jesper.nilsson@axis.com \
--cc=arnd@arndb.de \
--cc=fweisbec@gmail.com \
--cc=jkacur@redhat.com \
--cc=linux-cris-kernel@axis.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.