linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Tim Sander <tim@krieglstein.org>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	rostedt@goodmis.org, John Kacur <jkacur@redhat.com>
Subject: Re: Bisect results for 4.4.1-rt[4,5]
Date: Thu, 25 Feb 2016 15:06:27 +0100	[thread overview]
Message-ID: <56CF0A63.7010203@linutronix.de> (raw)
In-Reply-To: <6333508.b5IKNpgbEX@dabox>

On 02/17/2016 09:14 AM, Tim Sander wrote:
> Hi Sebastian

Hi Tim,

> I have done a bisect run, its a rather innocent looking on liner which seems 
> to cause the problems. The numbers where reasonably stable so i am pretty 
> confident that this is the patch giving ~26µs additional latency on the Altera
> SOC plattform:
> 
> eec2bf477ac674583a7d73b9d00f47c528b7266d is the first bad commit
> commit eec2bf477ac674583a7d73b9d00f47c528b7266d
> Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> Date:   Thu Feb 4 16:38:10 2016 +0100
> 
>     kernel/perf: mark perf_cpu_context's timer as irqsafe
>     
>     Otherwise we get a WARN_ON() backtrace and some events are reported as
>     "not counted".
>     
>     Cc: stable-rt@vger.kernel.org
>     Reported-by: Yang Shi <yang.shi@linaro.org>
>     Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Seriously? That patch? I played a little and I doubt seriously that
this patch has something to do with it.
So before that patch you would have a warn_on spotted and complained if
that timer would fire. So that is one reason why I doubt that this
patch is in charge of the 25us.

If I add a printk() to that timer I don't see it under "normal"
circumstances. However I do
 perf_4.3 stat -e
branches,branch-misses,bus-cycles,cache-misses,cache-references,cycles,instructions
apt-get update

then I see them fire.

> Best Regards
> Tim

Sebastian

      reply	other threads:[~2016-02-25 14:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-16 13:56 [ANNOUNCE] 4.1.5-rt5 Sebastian Andrzej Siewior
2016-02-12  8:28 ` Tim Sander
2016-02-12  9:07   ` Sebastian Andrzej Siewior
2016-02-12 14:36     ` [ANNOUNCE] 4.1.5-rt5 meant to reply to 4.4.1-rt5 Tim Sander
2016-02-17  8:14     ` Bisect results for 4.4.1-rt[4,5] Tim Sander
2016-02-25 14:06       ` Sebastian Andrzej Siewior [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=56CF0A63.7010203@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=jkacur@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --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 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).