Re: [PATCH 6/6] procfs: Kill the bkl in ioctl

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Wednesday, March 31, 2010 - 2:04 pm

On Wednesday 31 March 2010 22:21:23 Arnd Bergmann wrote:

I just looked at all the users of lock_kernel remaining with my patch
series. For 90% of them, it is completely obvious that they don't rely
on nested locking, and they very much look like they don't need the
autorelease either, because the BKL was simply pushed down into the
open, ioctl and llseek functions.

There are a few file systems (udf, ncpfs, autofs, coda, ...) and some
network protocols (appletalk, ipx, irnet and x25) for which it is not
obviously, though still quite likely, the case.

So we could actually remove the BKL recursion code soon, or even turn
all of it into a regular mutex, at least as an experimental option.

The recursive users that I've removed in my series are the block, tty,
input and sound subsystems, as well as the init code.

	Arnd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/6] Kill the bkl in procfs, Frederic Weisbecker, (Mon Mar 29, 11:20 pm)
[PATCH 1/6] procfs: Kill BKL in llseek on proc base, Frederic Weisbecker, (Mon Mar 29, 11:20 pm)
[PATCH 2/6] procfs: Use generic_file_llseek in /proc/kcore, Frederic Weisbecker, (Mon Mar 29, 11:20 pm)
[PATCH 3/6] procfs: Use generic_file_llseek in /proc/kmsg, Frederic Weisbecker, (Mon Mar 29, 11:20 pm)
[PATCH 4/6] procfs: Use generic_file_llseek in /proc/vmcore, Frederic Weisbecker, (Mon Mar 29, 11:20 pm)
[PATCH 5/6] procfs: Push down the bkl from ioctl, Frederic Weisbecker, (Mon Mar 29, 11:20 pm)
[PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Mon Mar 29, 11:20 pm)
Re: [PATCH 5/6] procfs: Push down the bkl from ioctl, Alexey Dobriyan, (Mon Mar 29, 11:31 pm)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Alexey Dobriyan, (Mon Mar 29, 11:38 pm)
Re: [PATCH 1/6] procfs: Kill BKL in llseek on proc base, Alexey Dobriyan, (Mon Mar 29, 11:40 pm)
Re: [PATCH 1/6] procfs: Kill BKL in llseek on proc base, Frederic Weisbecker, (Mon Mar 29, 11:50 pm)
Re: [PATCH 5/6] procfs: Push down the bkl from ioctl, Frederic Weisbecker, (Tue Mar 30, 12:02 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Tue Mar 30, 12:07 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Tue Mar 30, 3:33 am)
Re: [PATCH 5/6] procfs: Push down the bkl from ioctl, Arnd Bergmann, (Tue Mar 30, 3:37 am)
Re: [PATCH 5/6] procfs: Push down the bkl from ioctl, Frederic Weisbecker, (Tue Mar 30, 11:27 am)
Re: [PATCH 5/6] procfs: Push down the bkl from ioctl, Arnd Bergmann, (Tue Mar 30, 11:54 am)
Re: [PATCH 5/6] procfs: Push down the bkl from ioctl, Frederic Weisbecker, (Tue Mar 30, 12:21 pm)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Wed Mar 31, 10:22 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Wed Mar 31, 1:21 pm)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Wed Mar 31, 2:04 pm)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Wed Mar 31, 2:41 pm)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Alan Cox, (Wed Mar 31, 2:55 pm)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Wed Mar 31, 2:56 pm)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Thu Apr 1, 2:07 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Thu Apr 1, 4:37 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Stefan Richter, (Thu Apr 1, 4:39 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Thu Apr 1, 5:42 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Thu Apr 1, 5:45 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Stefan Richter, (Sat Apr 3, 10:53 am)
[PATCH v2] procfs: Push down the bkl from ioctl, Frederic Weisbecker, (Fri Apr 9, 7:45 am)
[PATCH v3] procfs: Push down the bkl from ioctl, Frederic Weisbecker, (Sat Apr 10, 6:25 am)
Re: [PATCH 0/6] Kill the bkl in procfs, Frederic Weisbecker, (Sat Apr 10, 6:27 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Sat Apr 10, 8:28 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Sat Apr 10, 9:09 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Sat Apr 10, 9:14 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Sat Apr 10, 9:24 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Christoph Hellwig, (Sun Apr 11, 6:03 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Mon Apr 12, 8:05 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Mon Apr 12, 10:34 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Mon Apr 12, 2:53 pm)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Arnd Bergmann, (Tue Apr 13, 2:26 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Christoph Hellwig, (Tue Apr 13, 11:03 am)
Re: [PATCH 6/6] procfs: Kill the bkl in ioctl, Frederic Weisbecker, (Tue Apr 13, 1:10 pm)
[PATCH v4] procfs: Push down the bkl from ioctl, Frederic Weisbecker, (Sun May 16, 6:23 pm)