mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Zachary Amsden <zach@vmware.com>
Cc: hch@infradead.org, ak@suse.de, linux-kernel@vger.kernel.org,
	riel@redhat.com, chrisw@osdl.org, pratap@vmware.com
Subject: Re: [PATCH] 8/8 Create MMU 2/3 level accessors in the sub-arch layer (i386)
Date: Sat, 6 Aug 2005 15:58:32 -0700	[thread overview]
Message-ID: <20050806155832.28f77c37.akpm@osdl.org> (raw)
In-Reply-To: <42F5016A.2020900@vmware.com>

Zachary Amsden <zach@vmware.com> wrote:
>
> >Yeah, I said ugly ones specificly.  There's been some nice previous ones,
>  >but most in this series (all the move of stuff to subarches) are rather
>  >horrible and lack lots of explanation.
>  >  
>  >
> 
>  All of my previous patches have been aimed at fixing bugs, improving 
>  performance, reliability and maintinability of the i386 architecture.  

Yup, with one or two semi-exceptions, all the patches up to this series
seem to be good general cleanups - certainly it's good to move all those
open-coded asm statements into single-site inlines and macros: people keep
on screwing them up.

We do need to wake the Xen poeple up, make sure that these changes suit
them as well, or at least don't screw them over (hard to see how it could
though).

>  If you found something that didn't fit one of those categories in my 
>  previous patches, then it is either not well enough explained or perhaps 
>  inadvertently slipped through from one of my more radical trees - or it 
>  could be a bug.
> 
>  There is a simple explanation for all of this series.  The goal is to 
>  move all privileged instructions, sensitive instructions, and privilege 
>  awareness into a layer where it can be overridden by new code without 
>  disrupting the default architecture.  On x86, there are a lot of 
>  instructions - popf, iret, sgdt, and others which behave differently 
>  under different privilege levels, but do not trap.  These architectural 
>  features must be redefined by any architecture which virtualizes the 
>  x86, be it Xen, UML, or an alternative approach.  Similarly, certain 
>  privileged processor data structures (page tables, descriptor tables) 
>  must be protected and accessed in a different manner if one is to 
>  utilize the principles of paravirtualization to achieve high performance 
>  inside of a virtual machine.  I believe this series of patches is one 
>  almost clean solution to this.  There are obvious problems with the MMU 
>  patch, and I'm still trying to come up with a way to properly address that.

Yes this later series is in a different category and will require more
review/coordination/discussion/waking-up from the Xen team.

  reply	other threads:[~2005-08-06 23:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <42F46558.9010202@vmware.com.suse.lists.linux.kernel>
2005-08-06 11:37 ` Andi Kleen
2005-08-06 11:56   ` Christoph Hellwig
2005-08-06 11:58     ` Andi Kleen
2005-08-06 12:01       ` Christoph Hellwig
2005-08-06 18:28         ` Zachary Amsden
2005-08-06 22:58           ` Andrew Morton [this message]
2005-08-06 23:02             ` Chris Wright
2005-08-07 10:39             ` Zachary Amsden
2005-08-06  7:23 Zachary Amsden
2005-08-07  1:16 ` Chris Wright

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=20050806155832.28f77c37.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=ak@suse.de \
    --cc=chrisw@osdl.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pratap@vmware.com \
    --cc=riel@redhat.com \
    --cc=zach@vmware.com \
    /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

Powered by JetHome