From: Dave Jones <davej-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Mathieu Desnoyers
<mathieu.desnoyers-scC8bbJcJLCw5LPnMra/2Q@public.gmane.org>
Cc: Pekka Enberg <penberg-bbCR+/B0CizivPeTLB3BmA@public.gmane.org>,
Dave Young
<hidave.darkstar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>,
Linux Kernel Mailing List
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Kernel Testers List
<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
cpufreq-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Rusty Russell <rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>,
trenn-l3A5Bk7waGM@public.gmane.org,
sven.wegener-sQQoR7IzGU7R7s880joybQ@public.gmane.org,
Venkatesh Pallipadi
<venkatesh.pallipadi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: [Bug #13475] suspend/hibernate lockdep warning
Date: Mon, 8 Jun 2009 10:32:20 -0400 [thread overview]
Message-ID: <20090608143220.GC2516@redhat.com> (raw)
In-Reply-To: <20090608124844.GA17588@Krystal>
On Mon, Jun 08, 2009 at 08:48:45AM -0400, Mathieu Desnoyers wrote:
> > > >> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13475
> > > >> Subject : suspend/hibernate lockdep warning
> > > >> References : http://marc.info/?l=linux-kernel&m=124393723321241&w=4
> > >
> > > I suspect the following commit, after revert this patch I test 5 times
> > > without lockdep warnings.
> > >
> > > commit b14893a62c73af0eca414cfed505b8c09efc613c
> > > Author: Mathieu Desnoyers <mathieu.desnoyers-scC8bbJcJLCw5LPnMra/2Q@public.gmane.org>
> > > Date: Sun May 17 10:30:45 2009 -0400
> > >
> > > [CPUFREQ] fix timer teardown in ondemand governor
> >
> > The patch is probably not at fault here. I suspect it's some latent bug
> > that simply got exposed by the change to cancel_delayed_work_sync(). In
> > any case, Mathieu, can you take a look at this please?
>
> Yes, it's been looked at and discussed on the cpufreq ML. The short
> answer is that they plan to re-engineer cpufreq and remove the policy
> rwlock taken around almost every operations at the cpufreq level.
>
> The short-term solution, which is recognised as ugly, would be do to the
> following before doing the cancel_delayed_work_sync() :
>
> unlock policy rwlock write lock
>
> lock policy rwlock write lock
>
> It basically works because this rwlock is unneeded for teardown, hence
> the future re-work planned.
>
> I'm sorry I cannot prepare a patch current... I've got quite a few pages
> of Ph.D. thesis due for the beginning of July.
I'm kinda scared to touch this code at all for .30 due to the number of
unexpected gotchas we seem to run into every time we touch something
locking related. So I'm inclined to just live with the lockdep warning
for .30, and see how the real fixes look for .31, and push them back
as -stable updates if they work out.
Venki, what are your thoughts?
Dave
next prev parent reply other threads:[~2009-06-08 14:32 UTC|newest]
Thread overview: 126+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-07 9:47 2.6.30-rc8-git4: Reported regressions from 2.6.29 Rafael J. Wysocki
2009-06-07 9:47 ` [Bug #13109] High latency on /sys/class/thermal Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13119] Trouble with make-install from a NFS mount Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13180] 2.6.30-rc2: WARNING at i915_gem.c for i915_gem_idle Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13219] Since kernel 2.6.30-rc1, computers hangs randomly Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13179] CD-R: wodim intermittent failures Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13116] Can't boot with nosmp Rafael J. Wysocki
2009-06-08 16:15 ` Stephen Hemminger
2009-06-08 16:29 ` Dan Williams
[not found] ` <e9c3a7c20906080929l1a4ec739t7585f6bba54bf684-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-09 0:04 ` Stephen Hemminger
2009-06-09 17:20 ` Dan Williams
[not found] ` <e9c3a7c20906091020m19abf3b5wbbb7f5364b2d4905-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-09 18:30 ` Avi Kivity
[not found] ` <4A2EAA53.7060006-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-09 18:36 ` Stephen Hemminger
2009-06-09 18:42 ` Avi Kivity
[not found] ` <4A2EAD2F.5010505-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-09 20:58 ` Stephen Hemminger
2009-06-09 23:19 ` Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13277] 2.6.30 regression - unreliable resume - bisected - Thinkpad X40 Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13318] AGP doesn't work anymore on nforce2 Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13319] Page allocation failures with b43 and p54usb Rafael J. Wysocki
2009-06-07 13:10 ` Larry Finger
[not found] ` <4A2BBC30.2030300-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2009-06-07 13:40 ` Pekka Enberg
[not found] ` <84144f020906070640rf5ab14nbf66d3ca7c97675f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-07 14:19 ` Rik van Riel
[not found] ` <4A2BCC6F.8090004-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-07 14:32 ` Pekka Enberg
[not found] ` <84144f020906070732l31786156r5d9753a0cabfde79-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-07 16:35 ` Larry Finger
[not found] ` <4A2BEC4F.6020908-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2009-06-08 8:32 ` KAMEZAWA Hiroyuki
[not found] ` <20090608173219.0588af26.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2009-06-08 17:20 ` Larry Finger
2009-06-08 10:17 ` Mel Gorman
[not found] ` <20090608101739.GA15377-wPRd99KPJ+uzQB+pC5nmwQ@public.gmane.org>
2009-06-08 10:52 ` Pekka Enberg
[not found] ` <84144f020906080352k57f12ff9pbd696da5f332ac1a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-08 11:03 ` Mel Gorman
[not found] ` <20090608110303.GD15377-wPRd99KPJ+uzQB+pC5nmwQ@public.gmane.org>
2009-06-08 13:58 ` Pekka J Enberg
[not found] ` <Pine.LNX.4.64.0906081657001.7036-nkv1RstziBCWKadcF5yKzn5wuOn9r4cE@public.gmane.org>
2009-06-08 14:12 ` Mel Gorman
[not found] ` <20090608141212.GE15070-wPRd99KPJ+uzQB+pC5nmwQ@public.gmane.org>
2009-06-08 14:42 ` Christoph Lameter
2009-06-09 7:06 ` Pekka Enberg
2009-06-09 7:54 ` David Rientjes
2009-06-09 7:58 ` Pekka Enberg
2009-06-09 8:14 ` David Rientjes
[not found] ` <alpine.DEB.2.00.0906090105270.28701-X6Q0R45D7oAcqpCFd4KODRPsWskHk0ljAL8bYrjMMd8@public.gmane.org>
2009-06-09 8:28 ` Pekka Enberg
2009-06-10 14:41 ` Larry Finger
2009-06-10 15:44 ` Pekka Enberg
2009-06-10 15:49 ` Pekka Enberg
2009-06-10 15:52 ` Johannes Berg
[not found] ` <1244649174.6165.0.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-06-10 16:06 ` Pekka Enberg
2009-06-10 16:16 ` Pekka Enberg
2009-06-10 16:10 ` Larry Finger
2009-06-11 14:41 ` Christoph Lameter
[not found] ` <alpine.DEB.1.10.0906111040440.29827-gkYfJU5Cukgdnm+yROfE0A@public.gmane.org>
2009-06-11 15:09 ` Pekka Enberg
2009-06-11 18:41 ` Johannes Berg
2009-06-10 15:56 ` Mel Gorman
[not found] ` <20090610155626.GA7951-wPRd99KPJ+uzQB+pC5nmwQ@public.gmane.org>
2009-06-10 18:03 ` Pekka Enberg
2009-06-09 7:50 ` Pekka Enberg
2009-06-08 13:20 ` Rik van Riel
[not found] ` <4A2D1017.6010308-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-08 13:35 ` Mel Gorman
2009-06-08 13:34 ` Larry Finger
2009-06-07 9:52 ` [Bug #13306] hibernate slow on _second_ run Rafael J. Wysocki
2009-06-08 6:36 ` Johannes Berg
[not found] ` <1244442961.11457.0.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-06-08 11:14 ` Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13313] vm86old oops Rafael J. Wysocki
2009-06-11 13:02 ` Sergey Senozhatsky
2009-06-07 9:52 ` [Bug #13337] [post 2.6.29 regression] hang during suspend of b44/b43 modules Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13330] nfs4 NULL pointer dereference in _nfs4_do_setlk Rafael J. Wysocki
2009-06-07 19:28 ` Trond Myklebust
[not found] ` <1244402928.5278.7.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-06-07 21:04 ` Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13328] b44: eth0: BUG! Timeout waiting for bit 00000002 of register 42c to clear Rafael J. Wysocki
2009-06-08 7:29 ` Francis Moreau
[not found] ` <38b2ab8a0906080029n5d0e167oc2fc217f19882816-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-12 13:27 ` Francis Moreau
[not found] ` <38b2ab8a0906120627l51f8fcbby934e3459ce148d26-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-12 19:14 ` Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13341] Random Oops at boot at loading ip6tables rules Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13362] rt2x00: slow wifi with correct basic rate bitmap Rafael J. Wysocki
2009-06-07 12:58 ` Alejandro Riveira Fernández
2009-06-07 21:05 ` Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13351] 2.6.30 corrupts my system after suspend resume with readonly mounted hard disk Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13366] About 80% of shutdowns fail (blocking) Rafael J. Wysocki
2009-06-07 16:02 ` Martin Bammer
2009-06-07 21:09 ` Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13389] Warning 'Invalid throttling state, reset' gets displayed when it should not be Rafael J. Wysocki
2009-06-08 11:31 ` Frans Pop
2009-06-07 9:52 ` [Bug #13391] Kernel boot hangs at about every second start when kms is activated Rafael J. Wysocki
2009-06-07 16:04 ` Martin Bammer
2009-06-07 21:11 ` Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13373] fbcon, intelfb, i915: INFO: possible circular locking dependency detected Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13374] reiserfs blocked for more than 120secs Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13401] pktcdvd writing is really slow with CFQ scheduler (bisected) Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13408] Performance regression in 2.6.30-rc7 Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13423] JMicron SATA controller not available Rafael J. Wysocki
2009-06-07 15:23 ` Marc Dionne
[not found] ` <4A2BDB64.6020404-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-07 21:13 ` Rafael J. Wysocki
[not found] ` <200906072313.20448.rjw-KKrjLPT3xs0@public.gmane.org>
2009-06-08 2:12 ` Marc Dionne
2009-06-07 9:52 ` [Bug #13407] adb trackpad disappears after suspend to ram Rafael J. Wysocki
2009-06-25 15:07 ` Jan Scholz
2009-06-07 9:52 ` [Bug #13424] possible deadlock when doing governor switching Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13470] Machine doesn't boot due to mmconfig detection problem Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13446] resume after suspend-to-ram broken on Toshiba Satellite A100 with 2.6.30-rc8 (works in 2.6.28) Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13462] Unused bands in intefb console and smaller 180x56 -> 128x48 Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13475] suspend/hibernate lockdep warning Rafael J. Wysocki
2009-06-07 13:21 ` Pekka Enberg
[not found] ` <84144f020906070621r1f480eaeief026d23662df380-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-08 7:35 ` Dave Young
[not found] ` <a8e1da0906080035j9f8b38drb46132de5a515915-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-08 7:49 ` Pekka Enberg
2009-06-08 12:48 ` Mathieu Desnoyers
2009-06-08 14:32 ` Dave Jones [this message]
[not found] ` <20090608143220.GC2516-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-08 15:23 ` [PATCH] remove rwsem lock from CPUFREQ_GOV_STOP call (second call site) Mathieu Desnoyers
2009-06-08 16:57 ` Pallipadi, Venkatesh
2009-06-08 17:17 ` Mathieu Desnoyers
2009-06-09 1:15 ` Dave Young
[not found] ` <a8e1da0906081815q68ea7741v3568d6cad5f72bb8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-09 15:23 ` Mathieu Desnoyers
2009-06-11 4:46 ` Dave Young
2009-06-11 13:39 ` [Bug #13475] suspend/hibernate lockdep warning Simon Holm Thøgersen
[not found] ` <1244727561.5350.32.camel-78RDdhuQolGs1BDpvl8NfQ@public.gmane.org>
2009-06-11 15:23 ` Mathieu Desnoyers
2009-06-17 0:39 ` Pallipadi, Venkatesh
[not found] ` <20090617003925.GA3900-UEgXbdCqpo40dzWUSSna/BL4W9x8LtSr@public.gmane.org>
2009-06-17 1:05 ` Mathieu Desnoyers
2009-06-17 15:29 ` Thomas Renninger
[not found] ` <200906171729.16272.trenn-l3A5Bk7waGM@public.gmane.org>
2009-06-17 17:03 ` Pallipadi, Venkatesh
2009-06-18 5:46 ` Dave Young
2009-06-07 9:52 ` [Bug #13471] Loading parport_pc kills the keyboard if ACPI is enabled Rafael J. Wysocki
2009-06-07 13:25 ` Ozan Çağlayan
[not found] ` <4A2BBFD6.8000002-caicS1wCkhO6A22drWdTBw@public.gmane.org>
2009-06-07 21:14 ` Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13474] Oops whilst booting Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13472] Oops with minicom and USB serial Rafael J. Wysocki
2009-06-07 9:52 ` [Bug #13473] Bug while trying to launch a KVM guest Rafael J. Wysocki
2009-06-08 4:26 ` Sachin Sant
[not found] ` <4A2C92EB.5020002-xthvdsQ13ZrQT0dZR+AlfA@public.gmane.org>
2009-06-08 11:16 ` Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2009-06-29 0:26 2.6.31-rc1-git3: Reported regressions 2.6.29 -> 2.6.30 Rafael J. Wysocki
2009-06-29 0:30 ` [Bug #13475] suspend/hibernate lockdep warning Rafael J. Wysocki
2009-07-06 23:57 2.6.31-rc2: Reported regressions 2.6.29 -> 2.6.30 Rafael J. Wysocki
2009-07-07 0:00 ` [Bug #13475] suspend/hibernate lockdep warning Rafael J. Wysocki
2009-07-26 20:41 2.6.31-rc4: Reported regressions 2.6.29 -> 2.6.30 Rafael J. Wysocki
2009-07-26 20:45 ` [Bug #13475] suspend/hibernate lockdep warning Rafael J. Wysocki
2009-07-27 1:59 ` Dave Young
2009-07-27 16:52 ` Mathieu Desnoyers
2009-07-27 21:57 ` Rafael J. Wysocki
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=20090608143220.GC2516@redhat.com \
--to=davej-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=cpufreq-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=hidave.darkstar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mathieu.desnoyers-scC8bbJcJLCw5LPnMra/2Q@public.gmane.org \
--cc=penberg-bbCR+/B0CizivPeTLB3BmA@public.gmane.org \
--cc=rjw-KKrjLPT3xs0@public.gmane.org \
--cc=rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org \
--cc=sven.wegener-sQQoR7IzGU7R7s880joybQ@public.gmane.org \
--cc=trenn-l3A5Bk7waGM@public.gmane.org \
--cc=venkatesh.pallipadi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).