All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Sandhya Kumar <insatiablecuriousity07@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] On x86 MMU modes
Date: Wed, 03 Jun 2015 10:22:46 +0200	[thread overview]
Message-ID: <556EB956.1080301@redhat.com> (raw)
In-Reply-To: <CAEqbB45NivDZt5cnVf7OGUc=g=gDQTsBhbP0kDT-vFCEsB6qLw@mail.gmail.com>



On 03/06/2015 10:07, Sandhya Kumar wrote:
> Thanks again. One more question.
> 
> On versions prior to the mentioned commit, is there any specific reason
> (in x86 source code of QEMU) to choose separate modes for address
> translations (of kernel and user mode)? Or was that done just for
> performance improvement?

It's because pages can be accessible only from kernel space, so the
protection bits for the pages can be different in the two TLBs.

Paolo

  reply	other threads:[~2015-06-03  8:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03  6:51 [Qemu-devel] On x86 MMU modes Sandhya Kumar
2015-06-03  7:01 ` Paolo Bonzini
2015-06-03  7:41   ` Sandhya Kumar
2015-06-03  7:58     ` Paolo Bonzini
2015-06-03  8:07       ` Sandhya Kumar
2015-06-03  8:22         ` Paolo Bonzini [this message]
2015-06-03  9:24           ` Sandhya Kumar
2015-06-03  9:36             ` Peter Maydell
2015-06-06  7:36               ` Sandhya Kumar
2015-06-06 22:34                 ` Peter Maydell
2015-06-08  2:51                   ` Sandhya Kumar

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=556EB956.1080301@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=insatiablecuriousity07@gmail.com \
    --cc=qemu-devel@nongnu.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.