From: Ryan Harper <ryanh@us.ibm.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] xen,tools: pincpu use vcpu and cpumap_t
Date: Wed, 27 Apr 2005 09:04:56 -0500 [thread overview]
Message-ID: <20050427140456.GD14932@us.ibm.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3D97@liverpoolst.ad.cl.cam.ac.uk>
* Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> [2005-04-27 08:55]:
>
>
> > int err, errno_saved;
> > dom0_op_t op;
> > + u32 vcpu = 0; /* FIXME, hard coded initial pin to vcpu 0 */
> > + cpumap_t cpumap = 1<<cpu;
>
> Ryan,
> I haven't looked at the whole patch yet, but this comment worried me, as
> it reminded me of a slightly wider change that I think we need to
> address at the same time.
>
> We should remove the initial CPU allocation algorithm from xen
> altogether, and leave it to xend (implementing the same ht-aware
> algorithm), setting an appropriate pin map for each vcpu. The whole
This patch is pretty big as it is, do you want me to move the cpu
allocation out in this patch, or can I follow this patch up with
another that moves the allocation out into xend?
> pining stuff should be removed from xc_domain_create too as it doesn't
> belong there.
Hrm, I believe this is a recent change from Keir:
http://lists.xensource.com/archives/html/xen-changelog/2005-04/msg00279.html
>
> I'd be inclined to go for something bigger than a long for the size of
> the bitmap in the xc interface, even if we only look at the first 32/64
> bits within Xen.
OK. I chose an unsigned long as that was what you had indicated we
would go with in Xen 3.0. How many bits would like to see the xc
interface use?
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@us.ibm.com
next prev parent reply other threads:[~2005-04-27 14:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-27 0:51 [PATCH] xen,tools: pincpu use vcpu and cpumap_t Ian Pratt
2005-04-27 14:04 ` Ryan Harper [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-04-26 22:31 Ryan Harper
2005-04-26 23:14 ` Lars Rasmusson
2005-05-03 16:51 ` Mike Wray
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=20050427140456.GD14932@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--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.