All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [RFC][PATCH 4/4] shorten overrun loops of periodic timers
Date: Thu, 03 Aug 2006 19:01:39 +0200	[thread overview]
Message-ID: <1154624499.5010.102.camel@domain.hid> (raw)
In-Reply-To: <44D19F3D.9060700@domain.hid>

On Thu, 2006-08-03 at 09:01 +0200, Jan Kiszka wrote:
> A simple patch, just like suggested by Gilles, to avoid looping over
> periodic xntimer handlers in case of overruns.
> 
> It saves the current TSC on loop entry and uses this value later when
> forwarding the timer. Is is the overhead of re-reading the TSC on all
> archs negligible and should we rather go that way?
> 

The configuration for which reading the TSC is fairly expensive is x86
+TSC emulation, since this incurs reading and writing a couple of
8254-related i/o ports. This is not an issue for other
archs/x86-configs.

> Jan
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
-- 
Philippe.




  reply	other threads:[~2006-08-03 17:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-03  7:01 [Xenomai-core] [RFC][PATCH 4/4] shorten overrun loops of periodic timers Jan Kiszka
2006-08-03 17:01 ` Philippe Gerum [this message]
2006-08-03 17:26 ` Gilles Chanteperdrix
2006-08-03 18:37   ` Jan Kiszka
2006-08-16 15:43     ` Gilles Chanteperdrix
2006-08-16 16:20       ` Jan Kiszka
2006-08-16 17:22         ` Gilles Chanteperdrix
2006-08-17  7:55           ` Jan Kiszka
2006-08-17 13:03             ` Gilles Chanteperdrix
2006-08-17 13:35               ` Jan Kiszka
2006-08-18  6:09                 ` Jan Kiszka

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=1154624499.5010.102.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.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.