From: Steven Rostedt <rostedt@goodmis.org>
To: tglx@linutronix.de
Cc: john stultz <johnstul@us.ibm.com>,
LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: ktimers in RT causing bad bogomips and more.
Date: Tue, 25 Oct 2005 18:36:22 -0400 [thread overview]
Message-ID: <1130279782.21118.53.camel@localhost.localdomain> (raw)
In-Reply-To: <1130279207.8167.46.camel@tglx.tec.linutronix.de>
On Wed, 2005-10-26 at 00:26 +0200, Thomas Gleixner wrote:
> On Tue, 2005-10-25 at 18:15 -0400, Steven Rostedt wrote:
> > if (!hres->active)
> > return CLOCK_EVT_RUN_CYCLIC;
>
> I'm searching for the brown paperbag.
>
> Thats the startup code before switching over to high resolution, so it
> should return 1, nothing else.
>
> CLOCK_EVT_RUN_CYCLIC is a leftover of the initial implementation, which
> did not take tick overruns into account.
Here, I'll make it easy for you. ;-)
-- Steve
Index: rt_linux_ernie/kernel/ktimers.c
===================================================================
--- rt_linux_ernie.orig/kernel/ktimers.c 2005-10-25 18:31:51.000000000 -0400
+++ rt_linux_ernie/kernel/ktimers.c 2005-10-25 18:32:38.000000000 -0400
@@ -338,10 +338,9 @@
* we expect, that the event source is running in periodic
* mode when it is a source serving other (tick based)
* functionality than next event
- *
*/
if (!hres->active)
- return CLOCK_EVT_RUN_CYCLIC;
+ return 1;
now = do_ktime_get();
prev parent reply other threads:[~2005-10-25 22:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-25 22:15 Steven Rostedt
2005-10-25 22:26 ` Thomas Gleixner
2005-10-25 22:36 ` Steven Rostedt [this message]
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=1130279782.21118.53.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--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
all inboxes | Powered by JetHome®