All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: Diwaker Gupta <diwaker.lists@gmail.com>,
	xen-devel <xen-devel@lists.xensource.com>
Subject: Re: periodic tasks in Xen
Date: Tue, 06 Mar 2007 19:22:08 +0000	[thread overview]
Message-ID: <C2136FE0.35A2%keir@xensource.com> (raw)
In-Reply-To: <891be9410703061101l22fb5532p78bcd1fd7cd15e25@mail.gmail.com>

On 6/3/07 19:01, "Diwaker Gupta" <diwaker.lists@gmail.com> wrote:

> Whats the recommended way of executing periodic tasks in Xen? I can
> stick stuff in the scheduler loop, but if there's a neater way of
> doing this I'd prefer that. I think I should be able to write a
> function, and have Xen invoke it periodically (via a timer interrupt
> or some other event?) but I'm not sure about the details. Thoughts?

Run it off a timer. See xen/timer.h

> Also, is there any way of delegating such a periodic task within Xen
> to a specific core/processor in the system?

Xen timers are explicitly bound to a particular core when they are
initialised.

 -- Keir

  reply	other threads:[~2007-03-06 19:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06 19:01 periodic tasks in Xen Diwaker Gupta
2007-03-06 19:22 ` Keir Fraser [this message]
2007-03-11 20:50   ` Diwaker Gupta
2007-03-12  9:23     ` 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=C2136FE0.35A2%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=diwaker.lists@gmail.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.