login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
8
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Alexey Dobriyan <adobriyan@...>
To: Andi Kleen <andi@...>
Cc: <linux-kernel@...>, <kernel-janitors@...>, <paolo.ciarrocchi@...>, <gorcunov@...>
Subject:
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl
Date: Tuesday, January 8, 2008 - 2:52 pm
On Tue, Jan 08, 2008 at 05:40:15PM +0100, Andi Kleen wrote:
quoted text
> Here's a proposal for some useful code transformations the kernel janitors > could do as opposed to running checkpatch.pl. > > Most ioctl handlers still running implicitely under the big kernel > lock (BKL). But long term Linux is trying to get away from that. There is a new > ->unlocked_ioctl entry point that allows ioctls without BKL, but the code > needs to be explicitely converted to use this. > > The first step of getting rid of the BKL is typically to make it visible > in the source. Once it is visible people will have incentive to eliminate it. > That is how the BKL conversion project for Linux long ago started too. > On 2.0 all system calls were still implicitely BKL and in 2.1 the > lock/unlock_kernel()s were moved into the various syscall functions and then > step by step eliminated. > > And now it's time to do the same for all the ioctls too. > > So my proposal is to convert the ->ioctl handlers all over the tree > to ->unlocked_ioctl with explicit lock_kernel()/unlock_kernel.
Thanks, Andi! I think it'd very useful change. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl
, Andi Kleen
, (Tue Jan 8, 12:40 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Rolf Eike Beer
, (Thu Jan 10, 4:52 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Thu Jan 10, 5:25 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Rolf Eike Beer
, (Thu Jan 10, 6:02 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Thu Jan 10, 6:06 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andre Noll
, (Wed Jan 9, 6:34 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Richard Knutsson
, (Wed Jan 9, 9:17 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andre Noll
, (Wed Jan 9, 9:33 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Kevin Winchester
, (Tue Jan 8, 7:50 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Tue Jan 8, 8:09 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Kevin Winchester
, (Tue Jan 8, 8:17 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Tue Jan 8, 8:27 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Paolo Ciarrocchi
, (Tue Jan 8, 3:58 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Pavel Machek
, (Fri Jan 11, 4:33 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Matt Mackall
, (Wed Jan 9, 4:12 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Alasdair G Kergon
, (Wed Jan 9, 6:40 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Daniel Phillips
, (Thu Jan 10, 5:49 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Alasdair G Kergon
, (Thu Jan 10, 7:39 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Daniel Phillips
, (Thu Jan 10, 6:55 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Wed Jan 9, 6:46 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Alasdair G Kergon
, (Wed Jan 9, 6:45 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Christoph Hellwig
, (Thu Jan 10, 4:34 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Chris Friesen
, (Wed Jan 9, 6:58 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Alasdair G Kergon
, (Wed Jan 9, 7:05 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Vadim Lobanov
, (Wed Jan 9, 7:31 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Alasdair G Kergon
, (Wed Jan 9, 8:00 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Vadim Lobanov
, (Thu Jan 10, 12:59 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Tue Jan 8, 4:42 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Tue Jan 8, 7:06 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Paolo Ciarrocchi
, (Tue Jan 8, 7:43 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Tue Jan 8, 8:03 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Paolo Ciarrocchi
, (Tue Jan 8, 4:45 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Rik van Riel
, (Tue Jan 8, 4:22 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Matthew Wilcox
, (Tue Jan 8, 4:00 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Paolo Ciarrocchi
, (Tue Jan 8, 4:03 pm)
supervising, text processing, semantic "patching" (Re: [JANI...
, Oleg Verych
, (Thu Mar 6, 10:54 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Matthew Wilcox
, (Tue Jan 8, 4:16 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Matthew Wilcox
, (Tue Jan 8, 4:21 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Dmitri Vorobiev
, (Tue Jan 8, 7:55 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Paolo Ciarrocchi
, (Tue Jan 8, 4:26 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Alexey Dobriyan
, (Tue Jan 8, 2:52 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Tue Jan 8, 3:18 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Arnd Bergmann
, (Tue Jan 8, 8:40 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Tue Jan 8, 8:47 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Junio C Hamano
, (Wed Jan 9, 6:00 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Arnd Bergmann
, (Tue Jan 8, 9:19 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Kevin Winchester
, (Tue Jan 8, 9:31 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Andi Kleen
, (Tue Jan 8, 9:41 pm)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Christoph Hellwig
, (Wed Jan 9, 4:02 am)
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlock...
, Cyrill Gorcunov
, (Tue Jan 8, 1:05 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andy Whitcroft
Re: 2.6.23-rc6-mm1
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Alan
Re: [RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Winkler, Tomas
RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall"
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
486 guests
online.
Online users
sellmyhousefast
Syndicate