mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Valdis.Kletnieks@vt.edu
Cc: Roland McGrath <roland@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH x86/mm] x86_64 save_i387_ia32 snafu
Date: Sat, 12 Jan 2008 07:59:21 +0100	[thread overview]
Message-ID: <20080112065921.GB9572@elte.hu> (raw)
In-Reply-To: <5212.1200117118@turing-police.cc.vt.edu>


* Valdis.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu> wrote:

> On Fri, 11 Jan 2008 13:31:47 PST, Roland McGrath said:
> > > thanks, applied. Does this explain the crash/hang problems with 32-bit 
> > > apps on 64-bit kernels? What was the exact failure mode?
> > 
> > It does.  Any 32-bit process trying to run a signal handler when it had
> > used the FPU, would clobber "current" with FP bits.  The observed failure
> > mode was shortly after this in the signal handler setup code, when it
> > crashed due to current->mm being zero (current->pid also being zero, and
> > the whole first 512 bytes of the task_struct being garbage).
> 
> For what it's worth, this patch fixes a problem I had in 24-rc6-mm1 
> with kernel panics when certain X programs exited (Eterm being the 
> biggest cause), that I had bisected to "somewhere in 
> git-x86.patch"....

ok, good. Yesterday's x86.git update has this fix included so the next 
-mm iteration should have the fix as well.

	Ingo

      reply	other threads:[~2008-01-12  6:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4786A9CA.2090008@zytor.com>
     [not found] ` <20080111004422.2B3F926F9A6@magilla.localdomain>
     [not found]   ` <4786BE15.6040604@zytor.com>
     [not found]     ` <20080111024929.37FDB26F9A9@magilla.localdomain>
     [not found]       ` <4786DB3B.8070808@zytor.com>
2008-01-11 10:43         ` Roland McGrath
2008-01-11 10:49           ` Ingo Molnar
2008-01-11 21:31             ` Roland McGrath
2008-01-12  5:51               ` Valdis.Kletnieks
2008-01-12  6:59                 ` Ingo Molnar [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=20080112065921.GB9572@elte.hu \
    --to=mingo@elte.hu \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@redhat.com \
    --cc=tglx@linutronix.de \
    /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

all inboxes | Powered by JetHome®