login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
25
Re: [rtc-linux] [PATCH] rtc: remove BKL for ioctl()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Alessandro Zummo <alessandro.zummo@...>
To: <rtc-linux@...>
Cc: <david-b@...>, lkml <linux-kernel@...>, Alan Cox <alan@...>, Jonathan Corbet <corbet@...>, <akpm@...>
Subject:
Re: [rtc-linux] [PATCH] rtc: remove BKL for ioctl()
Date: Wednesday, June 25, 2008 - 4:57 am
On Sun, 22 Jun 2008 19:55:42 -0700 David Brownell <david-b@pacbell.net> wrote:
quoted text
> Remove implicit use of BKL in ioctl() from the RTC framework. > > Instead, the rtc->ops_lock is used. That's the same lock that already > protects the RTC operations when they're issued through the exported > rtc_*() calls in drivers/rtc/interface.c ... making this a bugfix, not > just a cleanup, since both ioctl calls and set_alarm() need to update > IRQ enable flags and that implies a common lock (which RTC drivers as > a rule do not provide on their own). > > A new comment at the declaration of "struct rtc_class_ops" summarizes > current locking rules. It's not clear to me that the exceptions listed > there should exist ... if not, those are pre-existing problems which can > be fixed in a patch that doesn't relate to BKL removal. > > Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy
http://www.towertech.it
--
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:
[PATCH] rtc: remove BKL for ioctl()
, David Brownell
, (Sun Jun 22, 10:55 pm)
Re: [PATCH] rtc: remove BKL for ioctl()
, Jonathan Corbet
, (Wed Jun 25, 6:39 pm)
Re: [PATCH] rtc: remove BKL for ioctl()
, David Brownell
, (Wed Jun 25, 6:58 pm)
Re: [PATCH] rtc: remove BKL for ioctl()
, Alan Cox
, (Wed Jun 25, 6:30 pm)
Re: [PATCH] rtc: remove BKL for ioctl()
, Jonathan Corbet
, (Wed Jun 25, 7:41 pm)
Re: [PATCH] rtc: remove BKL for ioctl()
, David Brownell
, (Wed Jun 25, 7:04 pm)
Re: [rtc-linux] [PATCH] rtc: remove BKL for ioctl()
, Alessandro Zummo
, (Wed Jun 25, 4:57 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Matt Mackall
Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
Colocation donated by:
Who's online
There are currently
1 user
and
600 guests
online.
Online users
harmanmonstone
Syndicate