public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Christian Kujau <lists@nerdbynature.de>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>,
	Jeremy Fitzhardinge <jeremy@goop.org>,
	LKML <linux-kernel@vger.kernel.org>,
	brgerst@gmail.com
Subject: Re: 2.6.33-rc2: Xen/Guest switching to user mode with no user page tables
Date: Thu, 07 Jan 2010 11:19:47 -0800	[thread overview]
Message-ID: <4B4633D3.2070903@zytor.com> (raw)
In-Reply-To: <alpine.DEB.2.01.1001060434330.3483@bogon.housecafe.de>

On 01/06/2010 04:43 AM, Christian Kujau wrote:
> 
> I've run a few more bisections and this is where I have arrived now:
> 
> http://nerdbynature.de/bits/2.6.33-rc2/xen/bisect/git-bisect_finished.log
> 
> ...with the last iteration being:
> 
> 
> # git bisect good
> 3bd95dfb182969dc6d2a317c150e0df7107608d3 is the first bad commit
> commit 3bd95dfb182969dc6d2a317c150e0df7107608d3
> Author: Brian Gerst <brgerst@gmail.com>
> Date:   Wed Dec 9 12:34:40 2009 -0500
> 
>     x86, 64-bit: Move kernel_thread to C
>     
>     Prepare for merging with 32-bit.
>     
>     Signed-off-by: Brian Gerst <brgerst@gmail.com>
>     LKML-Reference: <1260380084-3707-2-git-send-email-brgerst@gmail.com>
>     Signed-off-by: H. Peter Anvin <hpa@zytor.com>
> 
> :040000 040000 30b5dd4d6888694ca2967893ef3e662461fe9978 
> 0bb5fb33914aac10aaf0344fb8cff596378be52a M      arch
> 
> 
> @Brian, hpa: I've Cc'ed you on this one, here's what I'm whining about:
>              http://lkml.org/lkml/2010/1/5/489
> 
> 
> Please let me know if this makes sense or if the bisection looks 
> funny/invalid.
> 

The big difference between the code before and after this commit is that
before, kernel_thread() would initialize the pt_regs structure with
whatever state happened to be passed into it by the caller, whereas
afterwards it is initialized to zero.  It's unclear to me why that would
break Xen, but therein lies the problem with paravirtualization... it's
not actually running the same thing the real architecture.
	
	-hpa


  parent reply	other threads:[~2010-01-07 19:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06  1:03 2.6.33-rc2: Xen/Guest switching to user mode with no user page tables Christian Kujau
2010-01-06  3:38 ` Jeremy Fitzhardinge
2010-01-06  3:48   ` Christian Kujau
2010-01-06  5:14     ` Jeremy Fitzhardinge
2010-01-06 11:06   ` Christian Kujau
2010-01-06 11:21     ` Cyrill Gorcunov
2010-01-06 12:43       ` Christian Kujau
2010-01-07 19:06         ` Christian Kujau
2010-01-07 19:20           ` Cyrill Gorcunov
2010-01-07 19:31             ` Christian Kujau
2010-01-07 19:34               ` Cyrill Gorcunov
2010-01-07 19:19         ` H. Peter Anvin [this message]
2010-01-07 19:30           ` Christian Kujau
2010-01-08 21:50             ` Cyrill Gorcunov
2010-01-09 23:55               ` Christian Kujau
2010-01-10  1:50               ` Brian Gerst
2010-01-10  8:09                 ` Cyrill Gorcunov
2010-01-10 12:59                   ` Ian Campbell
2010-01-10 13:36                     ` Cyrill Gorcunov
2010-01-10 13:49                       ` Cyrill Gorcunov
2010-01-10 14:05                         ` Ian Campbell
2010-01-15  8:36                     ` Christian Kujau
2010-01-15 11:29                       ` Ian Campbell
2010-01-15 12:03                         ` Cyrill Gorcunov
2010-01-15 12:00                       ` Cyrill Gorcunov

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=4B4633D3.2070903@zytor.com \
    --to=hpa@zytor.com \
    --cc=brgerst@gmail.com \
    --cc=gorcunov@gmail.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lists@nerdbynature.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