From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5636] Run timers from host alarm timer callback
Date: Fri, 7 Nov 2008 17:23:54 +0100 [thread overview]
Message-ID: <200811071623.55383.paul@codesourcery.com> (raw)
In-Reply-To: <49144B66.8080601@codemonkey.ws>
On Friday 07 November 2008, Anthony Liguori wrote:
> Luis Pureza wrote:
> > Hi,
> >
> > This commit caused a noticeable slowdown while using the instruction
> > counting mechanism. I'm testing with the sparc-test image and with
> > --icount auto.
>
> Yeah, I take it that all timers don't result in signals when using
> icount and that we rely on select() timeout instead. Let me look a
> little more closely at the code and I'll come up with a fix.
In icount mode vm_clock timers don't use host timers at all.
Instead we calculate how long we want to wait before checking again (the
EXCP_HALT code in vl.c:main_loop), and use that as the select timeout.
Paul
next prev parent reply other threads:[~2008-11-07 16:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-05 21:04 [Qemu-devel] [5636] Run timers from host alarm timer callback Anthony Liguori
2008-11-05 21:08 ` Anthony Liguori
2008-11-07 11:52 ` Luis Pureza
2008-11-07 14:06 ` Anthony Liguori
2008-11-07 16:23 ` Paul Brook [this message]
2008-11-11 21:00 ` Anthony Liguori
2008-11-11 23:42 ` Luis Pureza
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=200811071623.55383.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/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.