login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
14
Re: [PATCH] Hibernation: Fix lockdep report (v2)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Pavel Machek <pavel@...>
To: Rafael J. Wysocki <rjw@...>
Cc: Andrew Morton <akpm@...>, Johannes Berg <johannes@...>, Peter Zijlstra <a.p.zijlstra@...>, LKML <linux-kernel@...>, pm list <linux-pm@...>
Subject:
Re: [PATCH] Hibernation: Fix lockdep report (v2)
Date: Wednesday, November 14, 2007 - 6:42 pm
On Wed 2007-11-14 22:25:57, Rafael J. Wysocki wrote:
quoted text
> [Andrew, please consider this as 2.6.24 material, thanks.] > --- > From: Johannes Berg <johannes@sipsolutions.net> > > Lockdep reports a circular locking dependency in the hibernate code > because > - during system boot hibernate code (from an initcall) locks pm_mutex > and then a sysfs buffer mutex via name_to_dev_t > - during regular operation hibernate code locks pm_mutex under a > sysfs buffer mutex because it's called from sysfs methods. > > The deadlock can never happen because during initcall invocation nothing > can write to sysfs yet. This removes the lockdep report by marking the > initcall locking as being in a different class. > > Signed-off-by: Johannes Berg <johannes@sipsolutions.net> > Cc: Alan Stern <stern@rowland.harvard.edu> > Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> > Cc: Pavel Machek <pavel@ucw.cz>
ACK... -- (english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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] Hibernation: Fix lockdep report (v2)
, Rafael J. Wysocki
, (Wed Nov 14, 5:25 pm)
Re: [PATCH] Hibernation: Fix lockdep report (v2)
, Pavel Machek
, (Wed Nov 14, 6:42 pm)
Re: [PATCH] Hibernation: Fix lockdep report (v2)
, Peter Zijlstra
, (Wed Nov 14, 5:54 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Andrew Morton
Re: PROBLEM: high load average when idle
Karl Meyer
PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out"
git
:
linux-netdev
:
Evgeniy Polyakov
Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart.
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 28/37] dccp: Integration of dynamic feature activation - part 3 (client side)
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
9 users
and
794 guests
online.
Online users
jeanemcf
racebin
eddymartinezku
pargafin
hugomoya98
currencytradin
custody11
tvwallmountsrpn
kellyholmane
Syndicate