From: George Anzinger <george@mvista.com>
To: Lee Revell <rlrevell@joe-job.com>
Cc: Andrew Morton <akpm@osdl.org>,
mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clean up FIXME in do_timer_interrupt
Date: Tue, 08 Mar 2005 15:23:28 -0800 [thread overview]
Message-ID: <422E33F0.6020403@mvista.com> (raw)
In-Reply-To: <1110313644.4600.13.camel@mindpipe>
Lee Revell wrote:
> On Fri, 2005-03-04 at 12:58 -0800, George Anzinger wrote:
>
>>Lee Revell wrote:
>>
>>>On Fri, 2005-03-04 at 02:28 -0800, George Anzinger wrote:
>>>The thing that brought this code to my attention is that with PREEMPT_RT
>>>this happens to be the longest non-preemptible code path in the kernel.
>>>On my 1.3 Ghz machine set_rtc_mmss takes about 50 usecs, combined with
>>>the rest of timer irq we end up disabling preemption for about 90 usecs.
>>>Unfortunately I don't have the trace anymore.
>>>
>>>Anyway the upshot is if we hung this off a timer it looks like we would
>>>improve the worst case latency with PREEMPT_RT by almost 50%. Unless
>>>there is some reason it has to be done synchronously of course.
>>
>>Well, it does have to be done at the right WRT the second, but I suspect we can
>>hit that as well with a timer as it is hit now. Also, if we are _really_ off
>>the mark, this can be defered till the next second.
>>
>
>
> Do you have a patch?
Not at the moment, but I will work one up.
>
> Andrew merged my trivial patch to clean up the logic, but a real fix
> would be better.
>
> Lee
>
--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
next prev parent reply other threads:[~2005-03-08 23:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 17:10 [PATCH] clean up FIXME in do_timer_interrupt Lee Revell
2005-03-04 0:45 ` Andrew Morton
2005-03-04 1:19 ` Lee Revell
2005-03-04 10:28 ` George Anzinger
2005-03-04 20:43 ` Lee Revell
2005-03-04 20:58 ` George Anzinger
2005-03-08 20:27 ` Lee Revell
2005-03-08 23:23 ` George Anzinger [this message]
2005-03-10 8:42 ` George Anzinger
2005-03-11 22:23 ` Lee Revell
2005-03-11 22:34 ` Andrew Morton
2005-03-12 2:01 ` George Anzinger
2005-03-19 9:33 ` [PATCH] clean up FIXME in do_timer_interrupt-lock fix George Anzinger
2005-03-19 21:21 ` Andrew Morton
2005-03-19 22:23 ` 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=422E33F0.6020403@mvista.com \
--to=george@mvista.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rlrevell@joe-job.com \
/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