mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Milan Broz <mbroz@redhat.com>
Cc: Thomas Meyer <thomas@m3y3r.de>,
	linux-kernel@vger.kernel.org, Pavel Machek <pavel@ucw.cz>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: SwSusp to disk doesn't work - Try 2
Date: Sun, 11 Mar 2007 20:38:51 +0100	[thread overview]
Message-ID: <200703112038.52375.rjw@sisk.pl> (raw)
In-Reply-To: <45F452A2.2050009@redhat.com>

On Sunday, 11 March 2007 20:04, Milan Broz wrote:
> Rafael J. Wysocki napsal(a):
> > On Sunday, 11 March 2007 19:08, Thomas Meyer wrote:
> >> Suspend to disk doesn't work on my laptop.
> >>
> >> The suspend seems to hang while enabling the non-boot cpus again.
> >>
> >> with platform = "test" and state = "disk" i get this:
> 
> >> Enabling non-boot CPUs ...
> ...
> > 
> > Could you please put some printk()s in kernel/cpu.c:_cpu_up() to see where
> > it gets stuck?  I bet one of the notifiers goes to sleep (cpufreq, maybe).
> 
> Hi,
> I see the same problem - 2.6.21-rc3 with NO_HZ set (tickless), 

Ah, NO_HZ.  Thomas Gleixner's address added to the Cc list.

> short printk trace 
> 
> enable_nonboot_cpus
>  _cpu_up
>   raw_notifier_callchain (CPU_UP_PREPARE)
>     ...
>     update_sched_domains
>      detach_destroy_domains
>        [waits here] --> synchronize_sched (==synchronize_rcu)

Well, I think the call to wait_for_completion() does not return, probably
because the task supposed to complete the completion is frozen at this
point.  Can you please try to confirm that it gets stuck on
wait_for_completion() in synchronize_rcu()?

Rafael

  parent reply	other threads:[~2007-03-11 19:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-11 18:08 Thomas Meyer
2007-03-11 18:26 ` Rafael J. Wysocki
2007-03-11 18:37   ` Thomas Meyer
2007-03-11 19:27     ` Rafael J. Wysocki
2007-03-11 19:04   ` Milan Broz
2007-03-11 19:16     ` Thomas Meyer
2007-03-11 19:50       ` Rafael J. Wysocki
2007-03-11 20:04         ` Thomas Meyer
2007-03-11 19:38     ` Rafael J. Wysocki [this message]
2007-03-11 20:23       ` Milan Broz
2007-03-11 20:32         ` Rafael J. Wysocki
2007-03-11 20:28           ` Thomas Meyer
2007-03-11 20:45             ` Rafael J. Wysocki
2007-03-11 20:49               ` Thomas Meyer
2007-03-11 20:57             ` Milan Broz
2007-03-11 21:02               ` Thomas Meyer
2007-03-11 21:09               ` Rafael J. Wysocki
2007-03-11 21:56                 ` Thomas Gleixner
2007-03-11 21:57                   ` Thomas Meyer

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=200703112038.52375.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbroz@redhat.com \
    --cc=pavel@ucw.cz \
    --cc=tglx@linutronix.de \
    --cc=thomas@m3y3r.de \
    /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

all inboxes | Powered by JetHome®