From: Philippe Gerum <rpm@xenomai.org>
To: xenoka09@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Stack sizes etc. (Re: POSIX skin/Blackfin: SIGSEGV when stracing or gdb'ing)
Date: Thu, 06 Aug 2009 00:12:27 +0200 [thread overview]
Message-ID: <1249510347.3809.138.camel@domain.hid> (raw)
In-Reply-To: <alpine.DEB.2.00.0908052231200.4877@domain.hid>
On Wed, 2009-08-05 at 22:37 +0200, Waschk,Kolja wrote:
> Hi,
>
> > Does this help?
> > diff --git a/ksrc/arch/blackfin/switch.S b/ksrc/arch/blackfin/switch.S
>
> Yes! Great - it doesn't just help to step 'next' over the small example, it
> also allows me to actually use GDB with my larger app in use cases that
> previously always ended with the xnshadow_relax failure. Is it a bugfix or
> workaround
It is an official bug fix, for a blackfin-specific issue.
> and how did you actually find it out?
Your test case helped reproducing it in a very reliable manner, thanks
for this. The rest was about remembering a wacky aspect of the blackfin
architecture when it comes to implement rescheduling among supervisor
mode tasks: specifically, you just can't do context switching anytime
your OS sees fit, but only when the CPU is not nesting interrupts. This
issue implies a deferral of the Xenomai rescheduling procedure in some
circumstances (uClinux suffers the same pain), and the related piece of
my assembly code ended up being as wacky as the original blackfin issue.
This is what this patch fixes.
> - Kolja
>
--
Philippe.
prev parent reply other threads:[~2009-08-05 22:12 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-24 16:13 [Xenomai-help] POSIX skin/Blackfin: SIGSEGV when stracing or gdb'ing Kolja Waschk
2009-07-24 16:30 ` Philippe Gerum
2009-07-24 16:33 ` Philippe Gerum
2009-07-24 16:46 ` Philippe Gerum
2009-07-24 17:33 ` Waschk,Kolja
2009-07-24 18:50 ` Philippe Gerum
2009-07-24 21:09 ` Waschk,Kolja
2009-07-25 10:33 ` Philippe Gerum
2009-07-28 17:12 ` Waschk,Kolja
2009-07-29 8:23 ` Philippe Gerum
2009-07-29 10:12 ` [Xenomai-help] Stack sizes etc. (Re: POSIX skin/Blackfin: SIGSEGV when stracing or gdb'ing) Kolja Waschk
2009-07-29 11:40 ` Kolja Waschk
2009-07-29 16:05 ` Philippe Gerum
2009-07-29 20:55 ` Waschk,Kolja
2009-08-02 17:53 ` Philippe Gerum
2009-08-03 8:22 ` Philippe Gerum
2009-08-03 10:42 ` Kolja Waschk
2009-08-03 17:29 ` Kolja Waschk
2009-08-03 17:34 ` Philippe Gerum
2009-08-03 17:37 ` Philippe Gerum
2009-08-05 11:58 ` Philippe Gerum
2009-08-05 20:37 ` Waschk,Kolja
2009-08-05 22:12 ` Philippe Gerum [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=1249510347.3809.138.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=xenoka09@domain.hid \
--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.