From: BVK Chaitanya <bayapuneni_chaitanya@symantec.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Xen-devel@lists.xensource.com
Subject: Re: [PATCH] serialize suspend-resume process
Date: Fri, 01 Aug 2008 11:01:06 +0530 [thread overview]
Message-ID: <48929F9A.2050504@symantec.com> (raw)
In-Reply-To: <C4B797D3.24EF6%keir.fraser@eu.citrix.com>
Keir Fraser wrote:
>
> On 31/7/08 16:27, "BVK Chaitanya" <bayapuneni_chaitanya@symantec.com> wrote:
>
>> It is doing a busy-wait loop till suspend-resume cycle completes, if
>> any. I found that it may go more than 25 msec sometimes.
>
> It's not a busy-wait loop. As long as shutdown_state does not change under
> its feet, it will complete in no more than two iterations.
>
Yep, my mistake :-(
I still have a concern, but it may not be important for xen-3.3 as of
now. Let me explain:
Dom0 can trigger a suspend-resume cycle and can wait for suspended
notification back through event channel (and subscribe domctl). When
dom0 is done with its checkpoint-ing or any work it can resume the domU.
But resuming the domU doesn't complete suspend-resume cycle.
Suspend-resume cycle is completed only after domU completes the
xenbus_suspend_cancel function (I saw it taking more than 25msec.)
Suspend requests sent during this suspend-cancel time are _lost_.
If we assume dom0 shouldn't send suspend requests during suspend-cancel,
there must be some way for dom0 to know when suspend-cancel is
completed. AFAIK this doesn't exists in the current state.
Does it clarify my concern? Shall i bring this issue back after xen-3.3
is release work is done?
--
bvk-chaitanya
next prev parent reply other threads:[~2008-08-01 5:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 11:09 [PATCH] serialize suspend-resume process BVK Chaitanya
2008-07-31 11:17 ` Keir Fraser
2008-07-31 11:57 ` BVK Chaitanya
2008-07-31 12:23 ` Keir Fraser
2008-07-31 13:04 ` BVK Chaitanya
2008-07-31 13:07 ` Keir Fraser
2008-07-31 13:34 ` BVK Chaitanya
2008-07-31 13:46 ` Keir Fraser
2008-07-31 14:10 ` BVK Chaitanya
2008-07-31 14:12 ` Neil Turton
2008-07-31 14:36 ` Keir Fraser
2008-07-31 15:27 ` BVK Chaitanya
2008-07-31 15:24 ` Keir Fraser
2008-08-01 5:31 ` BVK Chaitanya [this message]
2008-08-01 5:58 ` BVK Chaitanya
2008-08-01 8:01 ` Keir Fraser
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=48929F9A.2050504@symantec.com \
--to=bayapuneni_chaitanya@symantec.com \
--cc=Xen-devel@lists.xensource.com \
--cc=keir.fraser@eu.citrix.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.