All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Philippe Gerum <rpm@xenomai.org>
Cc: "Xenomai@xenomai.org" <Xenomai@xenomai.org>
Subject: Re: [Xenomai] [POWERPC] bug alert with CONFIG_XENO_HW_UNLOCKED_SWITCH, >= kernel 3.4
Date: Wed, 05 Jun 2013 13:20:49 +0200	[thread overview]
Message-ID: <51AF1F11.6040107@xenomai.org> (raw)
In-Reply-To: <51AF1561.6090401@xenomai.org>

On 06/05/2013 12:39 PM, Philippe Gerum wrote:

> 
> A bad bug has been fixed in the unlocked context switching code for 
> powerpc platforms. This affects all I-pipe patches for 3.4 kernels and 
> above. The typical manifestation of this bug is random segmentation 
> faults in user-space applications (sometimes after hours under stress 
> load), usually the Xenomai-dependent ones.
> 
> A work around not to change the kernel code is to disable 
> CONFIG_XENO_HW_UNLOCKED_SWITCH. Patches for fixing this issue are 
> available for 3.5.7 and above:
> 
> http://git.xenomai.org/?p=ipipe.git;a=commit;h=614aa59453dacf7693fbb18229c27676c2803dbb
> http://git.xenomai.org/?p=ipipe.git;a=commit;h=04ea520ab96a16ec65529a2efed92c9a4a8bda34


Well, with these patches, the whole mm switch now runs with irqs off, is
this the intended effect?

-- 
                                                                Gilles.


  reply	other threads:[~2013-06-05 11:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 10:39 [Xenomai] [POWERPC] bug alert with CONFIG_XENO_HW_UNLOCKED_SWITCH, >= kernel 3.4 Philippe Gerum
2013-06-05 11:20 ` Gilles Chanteperdrix [this message]
2013-06-05 11:21   ` 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=51AF1F11.6040107@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Xenomai@xenomai.org \
    --cc=rpm@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.