From: George Anzinger <george@mvista.com>
To: Daniel Walker <dwalker@mvista.com>
Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de
Subject: Re: RT and timers
Date: Thu, 09 Jun 2005 18:36:12 -0700 [thread overview]
Message-ID: <42A8EE8C.1010406@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0506091639380.11001-100000@dhcp153.mvista.com>
Daniel Walker wrote:
> On Thu, 9 Jun 2005, George Anzinger wrote:
>
>
>>So, in short, I don't see the point to the suggested change. If the kernel is
>>late, it is best to let it catch up as fast as it can by looping here. The only
>>counter argument that makes sense to me it that in this case we are starving
>>other softirqd driven tasks, but that should, if any thing, lighten the timer
>>load and let this complete faster.
>
>
> I'm mainly concerned because that loop never breaks . It seems like there
> could be a condition when the loop never stops. For instance , a very
> accurate timer interrupt, and timers that continually reset themselves.
As I recall, it is not possible to put a timer in the list for the current time.
It will be put in the next tick slot or, with HRT, be passed to the hrt code.
The only case this might fail is if a kernel hrt user restarts his timer for
"now" or prior to "now". This is bad and hard to correct. The posix-timers
code does not restart timers until the signal is delivered and then from the
user thread, not the softirq context.
Did I miss something here?
--
George Anzinger george@mvista.com
HRT (High-res-timers): http://sourceforge.net/projects/high-res-timers/
next prev parent reply other threads:[~2005-06-10 1:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 7:37 [patch] Real-Time Preemption, -RT-2.6.12-rc4-V0.7.47-00 Ingo Molnar
2005-05-09 19:54 ` George Anzinger
2005-05-24 7:59 ` Ingo Molnar
2005-05-24 14:27 ` George Anzinger
2005-05-27 7:21 ` Ingo Molnar
2005-06-09 22:13 ` George Anzinger
2005-06-09 22:25 ` RT and timers Daniel Walker
2005-06-09 23:30 ` George Anzinger
2005-06-09 23:47 ` Daniel Walker
2005-06-10 1:36 ` George Anzinger [this message]
2005-06-10 8:30 ` Thomas Gleixner
[not found] ` <20050523091114.GB24956@elte.hu>
2005-05-27 0:38 ` [patch] Real-Time Preemption, -RT-2.6.12-rc4-V0.7.47-00 George Anzinger
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=42A8EE8C.1010406@mvista.com \
--to=george@mvista.com \
--cc=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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.