All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: adeos-main@gna.org, Xenomai-core@domain.hid
Subject: Re: [Xenomai-core] [PATCH] fix SYSENTER_CS modificaton race (was: [BUG] sep-related oops on 2.6.20)
Date: Thu, 04 Oct 2007 10:14:44 +0200	[thread overview]
Message-ID: <1191485684.20623.34.camel@domain.hid> (raw)
In-Reply-To: <46FB62F2.2010104@domain.hid>

On Thu, 2007-09-27 at 09:59 +0200, Jan Kiszka wrote:

> And here comes the solution:
> 
> The attached patch fixes a race related to changing MSR_IA32_SYSENTER_CS 
> when user space requested vm86[old]() services (I assume my X-server 
> does so in the scenario above, maybe to call into the BIOS). We have to 
> make sure that current->thread is always in sync with the MSR because we 
> consult both in __switch_to, thus we have to enforce atomicity of the 
> related code.
> 
> The patch is for ipipe-1.8-08, but 1.10 is affected just as well.
> 

Merged into both branches, thanks.

> Jan
> 
-- 
Philippe.




      reply	other threads:[~2007-10-04  8:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26 16:12 [Xenomai-core] [BUG] sep-related oops on 2.6.20 Jan Kiszka
2007-09-27  7:59 ` [Xenomai-core] [PATCH] fix SYSENTER_CS modificaton race (was: [BUG] sep-related oops on 2.6.20) Jan Kiszka
2007-10-04  8:14   ` 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=1191485684.20623.34.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=Xenomai-core@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=jan.kiszka@domain.hid \
    /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.