From: Keir Fraser <keir.xen@gmail.com>
To: Juergen Gross <juergen.gross@ts.fujitsu.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Allow ACPI state change with active cpupools
Date: Tue, 20 Mar 2012 14:55:53 +0000 [thread overview]
Message-ID: <CB8E4AF9.2ECDC%keir.xen@gmail.com> (raw)
In-Reply-To: <4F689847.1020709@ts.fujitsu.com>
On 20/03/2012 14:46, "Juergen Gross" <juergen.gross@ts.fujitsu.com> wrote:
>> Is it better to have cpupools know about offlining/suspend, or have
>> offlining/suspend know about cpupools? I would have thought the latter makes
>> more sense since it is offlining/suspend which calls into the cpupool
>> subsystem.
>
> I thought of a more relaxed solution in the cpupool coding:
>
> Instead of allowing to offline a cpu only if it is in Pool-0, I would allow it
> if:
> - the cpu is not the last one in the cpupool
> - or no domain is active in the cpupool (this would include the suspend case,
> where all domains are paused)
>
> Together with your proposal to remember the cpupool for an offlined cpu to add
> it again when it is onlined the handling should be rather simple and local.
Ah, I see. Yes, a more flexible policy like this in the cpupool subsystem is
best solution of all, imo.
-- Keir
next prev parent reply other threads:[~2012-03-20 14:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-20 12:15 [PATCH] Allow ACPI state change with active cpupools Juergen Gross
2012-03-20 12:52 ` Keir Fraser
2012-03-20 13:35 ` Juergen Gross
2012-03-20 14:30 ` Keir Fraser
2012-03-20 14:46 ` Juergen Gross
2012-03-20 14:55 ` Keir Fraser [this message]
2012-03-21 13:46 ` 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=CB8E4AF9.2ECDC%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=juergen.gross@ts.fujitsu.com \
--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.