From: Mathieu Ropert <mro@adviseo.fr>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: misc@openbsd.org, xen-devel@lists.xensource.com,
xen-users@lists.xensource.com
Subject: Re: [Xen-devel] Announcing OpenBSD/amd64 Xen port
Date: Fri, 09 Jun 2006 11:54:20 +0200 [thread overview]
Message-ID: <4489454C.1050909@adviseo.fr> (raw)
In-Reply-To: <c553df5c595e4c653432badc48f1ef8a@cl.cam.ac.uk>
Keir Fraser wrote:
>
> On 8 Jun 2006, at 10:48, Mathieu Ropert wrote:
>
>> - events/clock issue: there seems to be a race condition leading to
>> clock not ticking, hence putting system to sleep till a
>> keyboard/network/disk interrupt is received.
>
>
> The ticker doesn't tick when you block. Your idle loop needs to
> disable interrupts, set a one-shot timer, then block. See safe_halt()
> in our Linux source tree (arch/i386/kernel/time-xen.c) -- the function
> expects to be called with interrupts disabled and caller should also
> have already checked for any other threads being runnable.
>
> -- Keir
>
Thanks! That solved my issue. Just disabling interrupts before i call my
idle function did the trick.
Mathieu
next prev parent reply other threads:[~2006-06-09 9:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-08 9:48 Announcing OpenBSD/amd64 Xen port Mathieu Ropert
2006-06-09 9:27 ` Keir Fraser
2006-06-09 9:54 ` Mathieu Ropert [this message]
2006-06-09 10:57 ` Mathieu Ropert
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=4489454C.1050909@adviseo.fr \
--to=mro@adviseo.fr \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=misc@openbsd.org \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@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.