From: Stanislav Meduna <stano@meduna.org>
To: Tim Sander <tim@krieglstein.org>,
"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: i.MX28 milliseconds latencies, interrupts disabled in arch_cpu_idle?
Date: Fri, 18 Apr 2014 20:12:41 +0200 [thread overview]
Message-ID: <53516B19.6040702@meduna.org> (raw)
In-Reply-To: <9645151.cbKImklAq0@hydra>
On 18.04.2014 18:09, Tim Sander wrote:
> Are you sure that this is not the cpu idle latency?
Don't think so. However it is close to what I'd expect as an average
idle time (capped up by periodic ticks @ 250 Hz = 4 ms).
But thanks for the idea, I investigated and booting with kernel
parameter nohlt results in usual latencies reported (372 us max,
not great but acceptable for our usage).
The tracer is in fact right - the interrupts _are_ meant to be off:
arch/arm/mm/proc-arm926.S:
/*
* cpu_arm926_do_idle()
*
* Called with IRQs disabled
*/
Would it be possible to 'lie' to the tracing infrastructure and
treat the cpu_do_idle() as interrupts enabled without
actually enabling them?
Thanks
--
Stano
next prev parent reply other threads:[~2014-04-18 18:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 20:38 i.MX28 milliseconds latencies, interrupts disabled in arch_cpu_idle? Stanislav Meduna
2014-04-18 16:09 ` Tim Sander
2014-04-18 18:12 ` Stanislav Meduna [this message]
2014-04-18 22:21 ` Stanislav Meduna
2014-04-19 21:24 ` Tim Sander
2014-04-21 9:00 ` Stanislav Meduna
2014-04-19 10:36 ` Gilles Chanteperdrix
2014-04-21 9:11 ` Stanislav Meduna
2014-04-21 10:09 ` Gilles Chanteperdrix
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=53516B19.6040702@meduna.org \
--to=stano@meduna.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=tim@krieglstein.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.