From: Juergen Gross <juergen.gross@ts.fujitsu.com>
To: George Dunlap <george.dunlap@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] cpupools: Make interface more consistent
Date: Thu, 21 Oct 2010 07:38:09 +0200 [thread overview]
Message-ID: <4CBFD1C1.9000801@ts.fujitsu.com> (raw)
In-Reply-To: <b2725b65076e59547fbb.1287589760@gdunlap-desktop>
On 10/20/10 17:49, George Dunlap wrote:
> The current cpupools code interface is a bit inconsistent. This
> patch addresses this by making the interaction for each
> vcpu in a pool look like this:
>
> alloc_vdata() -- allocates and sets up vcpu data
> insert_vcpu() -- the vcpu is ready to run in this pool
> remove_vcpu() -- take the vcpu out of the pool
> free_vdata() -- delete allocated vcpu data
>
> (Previously, remove_vcpu and free_vdata were combined into a "destroy
> vcpu", and insert_vcpu was only called for idle vcpus.)
>
> This also addresses a bug in credit2 which was caused by a misunderstanding
> of the cpupools interface.
>
> Signed-off-by: George Dunlap<george.dunlap@eu.citrix.com>
Acked-by: juergen.gross@ts.fujitsu.com
--
Juergen Gross Principal Developer Operating Systems
TSP 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
prev parent reply other threads:[~2010-10-21 5:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 15:49 [PATCH] cpupools: Make interface more consistent George Dunlap
2010-10-21 5:38 ` Juergen Gross [this message]
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=4CBFD1C1.9000801@ts.fujitsu.com \
--to=juergen.gross@ts.fujitsu.com \
--cc=george.dunlap@eu.citrix.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.