From: Philippe Gerum <rpm@xenomai.org>
To: Jeroen Van den Keybus <jeroen.vandenkeybus@gmail.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Slow execution of RT task
Date: Tue, 15 Apr 2014 16:40:10 +0200 [thread overview]
Message-ID: <534D44CA.3000105@xenomai.org> (raw)
In-Reply-To: <CAPRPZsDSg6Yb3w+UEktb+7AmdZ-7JngVQH4tBbxnk5EV04y0AA@mail.gmail.com>
On 04/14/2014 02:45 PM, Jeroen Van den Keybus wrote:
>> .config would help. TIA,
>
>
> I've attached both the one for the 3.10 and the 3.8 kernels. In the
> meantime I found out that the 3.8 kernel exhibits the same problem.
>
> Please let know if attachments don't work. I'll paste into e-mail
> immediately (but personally I don't like .configs in the archive...).
>
>
I can't reproduce this bug using your configuration, so we need a
different approach.
Could you patch the code fragment in, enable CONFIG_IPIPE_TRACE, then
get a dump from /proc/ipipe/trace/frozen once the warning has triggered?
Maybe getting a bit more context by setting
/proc/ipipe/trace/backtrace_points to 2048 would help too. TIA,
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 3538001..a1f09e3 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -477,6 +477,8 @@ void rcu_irq_exit(void)
rdtp = &__get_cpu_var(rcu_dynticks);
oldval = rdtp->dynticks_nesting;
rdtp->dynticks_nesting--;
+ if (rdtp->dynticks_nesting < 0)
+ ipipe_trace_freeze(0);
WARN_ON_ONCE(rdtp->dynticks_nesting < 0);
if (rdtp->dynticks_nesting)
trace_rcu_dyntick("--=", oldval, rdtp->dynticks_nesting);
--
Philippe.
next prev parent reply other threads:[~2014-04-15 14:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-14 9:14 [Xenomai] Slow execution of RT task Jeroen Van den Keybus
2014-04-14 12:28 ` Philippe Gerum
2014-04-14 12:45 ` Jeroen Van den Keybus
2014-04-14 12:53 ` Philippe Gerum
2014-04-15 14:40 ` Philippe Gerum [this message]
2014-04-16 9:43 ` Jeroen Van den Keybus
2014-04-16 14:23 ` Philippe Gerum
2014-04-16 20:42 ` Jeroen Van den Keybus
2014-04-24 10:21 ` Jeroen Van den Keybus
2014-04-24 12:17 ` Philippe Gerum
2014-04-14 12:44 ` Philippe Gerum
2014-04-14 12:47 ` Jeroen Van den Keybus
2014-04-14 20:18 ` Jeroen Van den Keybus
2014-04-14 20:33 ` Gilles Chanteperdrix
2014-04-14 21:14 ` Jeroen Van den Keybus
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=534D44CA.3000105@xenomai.org \
--to=rpm@xenomai.org \
--cc=jeroen.vandenkeybus@gmail.com \
--cc=xenomai@xenomai.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.