From: Juergen Gross <juergen.gross@ts.fujitsu.com>
To: Keir Fraser <keir@xen.org>
Cc: xen-devel@lists.xensource.com, Jan Beulich <JBeulich@suse.com>
Subject: Re: [PATCH 2 of 2] Avoid vcpu migration of paused vcpus
Date: Fri, 23 Mar 2012 09:17:50 +0100 [thread overview]
Message-ID: <4F6C31AE.5010106@ts.fujitsu.com> (raw)
In-Reply-To: <CB90BB7F.3C24E%keir@xen.org>
On 03/22/2012 12:20 PM, Keir Fraser wrote:
> On 22/03/2012 10:22, "Juergen Gross"<juergen.gross@ts.fujitsu.com> wrote:
>
>> On 03/22/2012 11:12 AM, Keir Fraser wrote:
>>> Your original patch didn't touch this code. Was that an omission in the
>>> original version? On reflection I prefer your original patch to this new
>>> approach. I'll apply it if you still believe your original patch is complete
>>> and correct as it stands.
>> I like my second patch more :-)
>>
>> It covers more cases, not just poweroff. In hibernate case no vcpu pinnings
>> will be lost. Today all vcpus pinned to a cpu other than 0 will lose their
>> pinnings at cpu offlining. At reactivation those pinnings will not be
>> restored automatically. My patch will cover that by checking availability
>> of the cpus after reactivation.
>>
>> Poweroff (which was my primary concern) works with both versions. I did not
>> test other ACPI state changes with either version, but would expect better
>> results in hibernate case with my second approach.
> How about the attached patch? Which is similar to your original patch except
> I added the global state variable, and I added a check for it to
> cpu_disable_scheduler(). It's nice and small. :-)
Would you mind putting it in 4.1, too?
Juergen
--
Juergen Gross Principal Developer Operating Systems
PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28 Internet: ts.fujitsu.com
D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html
next prev parent reply other threads:[~2012-03-23 8:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 8:22 [PATCH 0 of 2] ACPI state change corrections Juergen Gross
2012-03-22 8:22 ` [PATCH 1 of 2] Allow ACPI state change with active cpupools Juergen Gross
2012-03-22 10:09 ` Jan Beulich
2012-03-22 8:22 ` [PATCH 2 of 2] Avoid vcpu migration of paused vcpus Juergen Gross
2012-03-22 10:12 ` Keir Fraser
2012-03-22 10:22 ` Juergen Gross
2012-03-22 11:20 ` Keir Fraser
2012-03-22 11:59 ` Juergen Gross
2012-03-23 8:17 ` Juergen Gross [this message]
2012-03-22 10:26 ` Jan Beulich
2012-03-22 10:38 ` Juergen Gross
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=4F6C31AE.5010106@ts.fujitsu.com \
--to=juergen.gross@ts.fujitsu.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.