From: Anthony Liguori <aliguori@us.ibm.com>
To: T S <thileepan_@hotmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Detecting deadlocks with hypervisor..
Date: Fri, 24 Mar 2006 13:24:46 -0600 [thread overview]
Message-ID: <4424477E.7080306@us.ibm.com> (raw)
In-Reply-To: <BAY108-F2165C3B012E4E559483A39F6DF0@phx.gbl>
T S wrote:
> This may sound a silly question (pardon me because i am relatively new
> to linux kernel) .. will it be possible to continue running reboot.c
> (or for that matter any kernel thread) when the kernel is deadlocked ?
> In Linux, is the kernel a single process or a bunch of parallelly
> executing entities? If later, then during a kernel deadlock (eg: by
> loading a faulty module that disables interrupts and do something
> silly) there can still be some other processes/threads run, right?
Sorry for not making this more clear previously. You cannot restore a
dead-locked domain if a normal xm save doesn't work. One thing that
makes Xen unique is that guests actually are aware of what physical
pages are assigned to them. When one does a save/restore, the guest has
to canonicalize all of it's internal references to physical pages. When
it's restored, it then remaps it's newly assigned physical pages to all
the old places where it needed to know about them for some reason or
another.
If the guest isn't responsive when you do a save, then it will never
canonicalize itself and there is no way to restore the domain.
Regards,
Anthony Liguori
> thanks
> TS
>
>>
>> If a suspend completes correctly, Xend will see it (another watch
>> will fire),
>> and xc_linux_save will be free to complete the save.
>>
>> > Also, does it seem viable to clone a copy of a deadlocked guest OS
>> in the
>> > first place?
>>
>> If you have a byte-for-byte copy of a deadlocked guest, even if you
>> could
>> suspend it, surely it will be deadlocked when it is resumed. How do you
>> intend to break the deadlock, and how is it easier to do that from
>> outside
>> than it is to perform deadlock detection in the guest?
>>
>> Ewan.
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's
> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2006-03-24 19:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-19 2:14 Detecting deadlocks with hypervisor Thileepan Subramaniam
2006-03-19 6:37 ` Randy Thelen
2006-03-19 10:16 ` Edwin Zhai
2006-03-19 13:17 ` Ewan Mellor
2006-03-24 18:57 ` T S
2006-03-24 19:04 ` T S
2006-03-24 19:24 ` Anthony Liguori [this message]
2006-03-24 20:30 ` T S
2006-04-07 17:11 ` T S
2006-04-07 17:22 ` Keir Fraser
2006-04-07 17:45 ` Anthony Liguori
2006-04-07 17:41 ` Anthony Liguori
2006-04-08 1:47 ` T S
2006-04-08 14:38 ` Anthony Liguori
2006-03-19 16:30 ` Anthony Liguori
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=4424477E.7080306@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=thileepan_@hotmail.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.