From: Ryan Harper <ryanh@us.ibm.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
Ryan Harper <ryanh@us.ibm.com>,
xen-devel@lists.xensource.com
Subject: Re: [PATCH][RESUBMIT] don't schedule unplugged vcpus
Date: Wed, 8 Jun 2005 17:18:51 -0500 [thread overview]
Message-ID: <20050608221851.GI13586@us.ibm.com> (raw)
In-Reply-To: <816f5179e028e5f8b970d0476a3479ac@cl.cam.ac.uk>
* Keir Fraser <Keir.Fraser@cl.cam.ac.uk> [2005-06-08 17:07]:
>
> On 8 Jun 2005, at 23:00, Ryan Harper wrote:
>
> >So, when I trigger a vcpu to go down via dom0 xm operation, I have to
> >trust that it worked? I have no way of knowing at some point later
> >which vcpus are up or down? I don't see any cost to this other than
> >during the getdominfo hcall.
>
> The ones you can retrieve info about are up. The ones you can't, are
> down. :-)
Indeed. =)
> Let me put it this way: I reserve the right in future to change my mind
> and free the vcpu info structures for vcpus that are down (and
> re-allocate when they come back up). If I do that then you will not get
> info about them via hypercalls. There's no good reason to return info
> about them -- you can infer they are 'down'/non-existent from their
> absence -- so why bother?
It seemed nicer/easier/cheaper (to me) to mark up/down in the dominfo
hypercall rather than issue MAX_VIRT_CPUS vcpucontext hypercalls.
--
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-06-08 22:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-08 21:42 [PATCH][RESUBMIT] don't schedule unplugged vcpus Ian Pratt
2005-06-08 21:51 ` Keir Fraser
2005-06-08 22:00 ` Ryan Harper
2005-06-08 22:03 ` Keir Fraser
2005-06-08 22:18 ` Ryan Harper [this message]
2005-06-09 7:58 ` Keir Fraser
2005-06-08 21:52 ` Ryan Harper
-- strict thread matches above, loose matches on Subject: below --
2005-06-08 21:59 Ian Pratt
2005-06-08 22:12 ` Ryan Harper
2005-06-06 21:03 [PATCH] " Ryan Harper
2005-06-08 21:29 ` [PATCH][RESUBMIT] " Ryan Harper
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=20050608221851.GI13586@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--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.