From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] timer optimisations
Date: Mon, 22 May 2006 11:09:14 +0200 [thread overview]
Message-ID: <44717FBA.1030207@domain.hid> (raw)
[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]
Hi,
while I originally only wanted to add timer abstraction to RTDM, I now
have patch series for xntimer pending on my box pushing this layer
closer to hrtimer.
But before posting it for discussion (needs further testing anyway), I
have two questions regarding some minor though not totally uninteresting
optimisation possibilities:
1. Is calling xntimer_start() with value=XN_INFINITE a real use case?
It's not documented explicitly. The effect of such an invocation
looks a bit like xntimer_stop(), but I didn't find a real caller so
far to asses it's relevance.
If it is not used and could rather be declared illegal, we could safe
the related code in the do_timer_start handlers.
2. rthal_timer_program_shot() uses explicit rthal_local_irq_save_hw on
ia64 and i386. Given the head optimisation, IRQs should already be
disabled when calling this service. So, can this IRQ masking be made
depending on !CONFIG_XENO_OPT_PIPELINE_HEAD?
ARM uses an additional lock as well, but it's hidden inside the ipipe
patch and is likely required to remain independent of the caller's
properties.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next reply other threads:[~2006-05-22 9:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-22 9:09 Jan Kiszka [this message]
2006-05-22 9:48 ` [Xenomai-core] timer optimisations Philippe Gerum
2006-05-22 10:46 ` 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=44717FBA.1030207@domain.hid \
--to=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.