From: George Dunlap <george.dunlap@eu.citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Ben Guthro <ben.guthro@gmail.com>,
Marek Marczykowski <marmarek@invisiblethingslab.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Only CPU0 active after ACPI S3, xen 4.1.3
Date: Wed, 16 Jan 2013 13:58:07 +0000 [thread overview]
Message-ID: <50F6B1EF.9020100@eu.citrix.com> (raw)
In-Reply-To: <50F6B44702000078000B6459@nat28.tlf.novell.com>
On 16/01/13 13:08, Jan Beulich wrote:
>>>> On 16.01.13 at 12:58, George Dunlap <george.dunlap@eu.citrix.com> wrote:
>> On 16/01/13 11:22, George Dunlap wrote:
>>> Jan, the commit message isn't very informative -- can you point me to
> Which commit message?
>
>>> a conversation describing the problem you're fixing wrt
>>> suspend/resume, and/or describe what you were trying to do? Given the
>>> results, the whole thing about not disabling scheduling during suspend
>>> seems a bit suspect...
>> In particular, just on a fairly cursory bit of function call skimming,
>> it looks like:
>> * This change means that cpupool.c:cpu_callback() won't call
>> cpupool_cpu_add() when resuming
>> * cpupool_cpu_add() does a bunch of paperwork (which would be
>> unnecessary given the changes re suspend), but also calls
>> cpupool_assign_cpu_locked()
>> * cpupool_assign_cpu_locked() calls schedule_cpu_switch()
>> * schedule_cpu_switch() calls the scheduler's tick_resume()
>>
>> So is it possible that on resume ticks are not being re-enabled, or
>> something like that?
> I don't see a problem here - it's symmetric (nothing done on
> suspend, and nothing done on resume).
Well it would be if it was only data, but it's not. That's my point.
Before this changeset (xen-unstable 25079:d5ccb2d1dbd1), ticks were
suspended and resumed on the CPU (i.e., timer interrupts turned off and
on), and after the patch, they're not. Doesn't suspend disable / muck
with timer interrupts?
-George
next prev parent reply other threads:[~2013-01-16 13:58 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 18:55 Only CPU0 active after ACPI S3, xen 4.1.3 Marek Marczykowski
2012-11-30 9:33 ` Jan Beulich
2012-11-30 16:07 ` Marek Marczykowski
2012-11-30 16:12 ` Jan Beulich
2012-11-30 16:18 ` Marek Marczykowski
2012-12-03 7:39 ` Jan Beulich
2012-12-04 13:27 ` Marek Marczykowski
2012-12-20 15:59 ` Marek Marczykowski
2012-12-20 16:37 ` Jan Beulich
2012-12-20 19:41 ` Ben Guthro
2012-12-20 23:17 ` Marek Marczykowski
2012-12-21 4:52 ` Marek Marczykowski
2012-12-21 8:55 ` Jan Beulich
2012-12-21 13:33 ` Marek Marczykowski
2012-12-21 13:34 ` Marek Marczykowski
2012-12-21 13:42 ` Jan Beulich
2012-12-21 13:59 ` Marek Marczykowski
2012-12-21 14:03 ` Ben Guthro
2012-12-21 14:05 ` Jan Beulich
2012-12-21 15:30 ` Marek Marczykowski
2012-12-21 15:54 ` Ben Guthro
2012-12-21 16:03 ` Jan Beulich
2012-12-21 16:18 ` Ben Guthro
2012-12-23 2:49 ` Marek Marczykowski
2012-12-23 13:45 ` Ben Guthro
2012-12-31 12:51 ` Ben Guthro
2013-01-03 8:52 ` Jan Beulich
2013-01-16 11:22 ` George Dunlap
2013-01-16 11:58 ` George Dunlap
2013-01-16 13:08 ` Jan Beulich
2013-01-16 13:58 ` George Dunlap [this message]
2013-01-16 14:31 ` Jan Beulich
2013-01-03 8:52 ` Jan Beulich
2013-01-12 7:05 ` Marek Marczykowski
2013-01-14 3:28 ` Marek Marczykowski
2012-11-30 21:33 ` Konrad Rzeszutek Wilk
2012-11-30 22:12 ` Ben Guthro
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=50F6B1EF.9020100@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=ben.guthro@gmail.com \
--cc=marmarek@invisiblethingslab.com \
--cc=xen-devel@lists.xen.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).