All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Stanislav Meduna <stano@meduna.org>,
	Corey Minyard <cminyard@mvista.com>,
	linux-rt-users@vger.kernel.org, minyard@acm.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm: Set hardirq tracing to on when idling
Date: Tue, 27 May 2014 20:49:27 +0200	[thread overview]
Message-ID: <4475199.26Fs5MKAfh@wuerfel> (raw)
In-Reply-To: <5384BF89.6010509@meduna.org>

On Tuesday 27 May 2014 18:38:33 Stanislav Meduna wrote:
> On 26.05.2014 11:26, Arnd Bergmann wrote:
> 
> > It seems like the right thing to do, I just don't understand
> > why nobody hit this before.
> 
> Looks like this is what I did hit a month ago and
> was not able to find the culprit:
> http://www.spinics.net/lists/linux-rt-users/msg11656.html

Ok, so you get a 2.2ms latency on i.mx28 here, which comes
from exactly the same code location, and is quite alarming
by itself, but much less so than the 4 second latency that
Corey is seeing. This could just be an artifact of i.mx28
not staying idle for as long as vexpress.

> > How exactly do you see this manifest? If it's clear
> > that the trace comes from the idle function, maybe
> > everybody just ignores it?
> 
> That was definitely what I did 

You also commented in that thread about stop_critical_timings()/
start_critical_timings(). Corey, can you look at that, too? I
think it's designed to avoid the issue you are seeing but
for some reason doesn't.

Maybe the problem is that the tracing infrastructure gets confused
when the irq_disable() happens in a different function from
irq_enable().

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: Set hardirq tracing to on when idling
Date: Tue, 27 May 2014 20:49:27 +0200	[thread overview]
Message-ID: <4475199.26Fs5MKAfh@wuerfel> (raw)
In-Reply-To: <5384BF89.6010509@meduna.org>

On Tuesday 27 May 2014 18:38:33 Stanislav Meduna wrote:
> On 26.05.2014 11:26, Arnd Bergmann wrote:
> 
> > It seems like the right thing to do, I just don't understand
> > why nobody hit this before.
> 
> Looks like this is what I did hit a month ago and
> was not able to find the culprit:
> http://www.spinics.net/lists/linux-rt-users/msg11656.html

Ok, so you get a 2.2ms latency on i.mx28 here, which comes
from exactly the same code location, and is quite alarming
by itself, but much less so than the 4 second latency that
Corey is seeing. This could just be an artifact of i.mx28
not staying idle for as long as vexpress.

> > How exactly do you see this manifest? If it's clear
> > that the trace comes from the idle function, maybe
> > everybody just ignores it?
> 
> That was definitely what I did 

You also commented in that thread about stop_critical_timings()/
start_critical_timings(). Corey, can you look at that, too? I
think it's designed to avoid the issue you are seeing but
for some reason doesn't.

Maybe the problem is that the tracing infrastructure gets confused
when the irq_disable() happens in a different function from
irq_enable().

	Arnd

  reply	other threads:[~2014-05-27 18:49 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-25 19:15 [PATCH] arm: Set hardirq tracing to on when idling minyard
2014-05-25 19:15 ` minyard at acm.org
2014-05-26  9:26 ` Arnd Bergmann
2014-05-26  9:26   ` Arnd Bergmann
2014-05-27 13:21   ` Corey Minyard
2014-05-27 13:21     ` Corey Minyard
2014-05-27 16:16     ` Arnd Bergmann
2014-05-27 16:16       ` Arnd Bergmann
2014-05-27 18:50       ` Corey Minyard
2014-05-27 18:50         ` Corey Minyard
2014-05-27 16:38   ` Stanislav Meduna
2014-05-27 16:38     ` Stanislav Meduna
2014-05-27 18:49     ` Arnd Bergmann [this message]
2014-05-27 18:49       ` Arnd Bergmann
2014-05-27 18:53       ` Stephen Boyd
2014-05-27 18:53         ` Stephen Boyd
2014-05-27 19:27         ` Arnd Bergmann
2014-05-27 19:27           ` Arnd Bergmann
2014-05-27 19:33           ` Stephen Boyd
2014-05-27 19:33             ` Stephen Boyd
2014-05-27 19:39             ` Arnd Bergmann
2014-05-27 19:39               ` Arnd Bergmann
2014-05-27 20:22               ` Stephen Boyd
2014-05-27 20:22                 ` Stephen Boyd
2014-05-28  0:28           ` Corey Minyard
2014-05-28  0:28             ` Corey Minyard
2014-05-28  6:46             ` Arnd Bergmann
2014-05-28  6:46               ` Arnd Bergmann

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=4475199.26Fs5MKAfh@wuerfel \
    --to=arnd@arndb.de \
    --cc=cminyard@mvista.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=minyard@acm.org \
    --cc=stano@meduna.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.