From: Ingo Molnar <mingo@elte.hu>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: George Anzinger <george@mvista.com>,
LKML <linux-kernel@vger.kernel.org>,
Doug Niehaus <niehaus@ittc.ku.edu>,
Benedikt Spranger <bene@linutronix.de>
Subject: Re: High resolution timers and BH processing on -RT
Date: Fri, 28 Jan 2005 09:47:25 +0100 [thread overview]
Message-ID: <20050128084725.GB5004@elte.hu> (raw)
In-Reply-To: <1106901013.21196.194.camel@tglx.tec.linutronix.de>
* Thomas Gleixner <tglx@linutronix.de> wrote:
> > or is it that we have a 'group' of normal timers expiring, which, if
> > they happen to occur _just_ prior a HRT event will generate a larger
> > delay?
>
> Yep. The timers expire at random times. So it's likely to have short
> sequences of timer interrupts going off. This needs reprogramming of
> the PIT and processing of the expired timers.
i dont really like the static splitup of 'normal' vs. 'HRT' timers -
there might in fact be separate priority requirements between HRT timers
too.
i think one possible solution would be to introduce some notion of
'timer priority', and to expire each timer priority level in a separate
timer expiry thread. Priority 0 (lowest) would be expired in ksoftirqd,
and there would be 3 separate threads for say priorities 1-3. Or
something like this. Potentially exposed to user-space as well, via new
APIs. Hm?
To push this even further: in theory timers could inherit the priority
of the task that starts them, and they would be expired in that priority
order - but this probably needs a pretty clever (and most likely
complex) data-structure ...
Ingo
next prev parent reply other threads:[~2005-01-28 8:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-28 0:13 High resolution timers and BH processing on -RT Thomas Gleixner
2005-01-28 4:43 ` Ingo Molnar
2005-01-28 8:20 ` Thomas Gleixner
2005-01-28 8:24 ` Ingo Molnar
2005-01-28 8:30 ` Thomas Gleixner
2005-01-28 8:47 ` Ingo Molnar [this message]
2005-01-28 18:34 ` George Anzinger
2005-01-28 18:51 ` Ingo Molnar
2005-01-28 18:53 ` Ingo Molnar
2005-01-31 9:12 ` Thomas Gleixner
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=20050128084725.GB5004@elte.hu \
--to=mingo@elte.hu \
--cc=bene@linutronix.de \
--cc=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=niehaus@ittc.ku.edu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).