All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Andrea Arcangeli <andrea@qumranet.com>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com.br>, kvm@vger.kernel.org
Subject: Re: [PATCH 4/6] kvm-userland.git mmu notifier compat
Date: Tue, 29 Jul 2008 16:30:42 +0300	[thread overview]
Message-ID: <488F1B82.2080405@qumranet.com> (raw)
In-Reply-To: <20080729130335.GM11494@duo.random>

Andrea Arcangeli wrote:
> On Tue, Jul 29, 2008 at 03:49:08PM +0300, Avi Kivity wrote:
>   
>> Applied; thanks.  I think page pinning can be worked around by pinning all 
>> pages on memslot registration (and unpinning on memslot removal); this will 
>> slow down virtual machine startup, but is at least simple.
>>     
>
> This has the benefit that will also fix the tlb issues, but if we go
> this way if a sles/rhel user takes the next kvm release, all ram will
> be pinned and it won't swap anything for him, like with my patch that
> added VM_LOCKED. Said that swap wasn't a reliable feature before so
> nobody should have depended on that.
>   

A 64-bit guest would pin all pages anyway as soon as it touched them the 
first time, through the direct map.

> If we really go this memslot-wide-pinning way I could submit to rhel
> and sles a mmu notifier backport so the rhel/sles users won't have to
> wait to get their kernel upgraded to 2.6.27 to get full kvm-paging.
>   

I really doubt they would take it; Red Hat will want to point people at 
ovirt and Novel at Xen.

It's not a simple patch.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2008-07-29 13:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 14:24 [PATCH 1/6] kvm.git mmu notifier patch Andrea Arcangeli
2008-07-25 14:26 ` [PATCH 2/6] kvm.git allow reading aliases with mmu_lock Andrea Arcangeli
2008-07-25 14:32   ` [PATCH 3/6] kvm.git allow browsing memslots " Andrea Arcangeli
2008-07-25 14:38     ` [PATCH 4/6] kvm-userland.git mmu notifier compat Andrea Arcangeli
2008-07-25 14:40       ` [PATCH 5/6] kvm.git handle reserved pages as mmio Andrea Arcangeli
2008-07-25 14:44         ` [PATCH 6/6] kvm.git allow reserved pages to be used as guest phys ram Andrea Arcangeli
2008-07-29 12:49       ` [PATCH 4/6] kvm-userland.git mmu notifier compat Avi Kivity
2008-07-29 13:03         ` Andrea Arcangeli
2008-07-29 13:30           ` Avi Kivity [this message]
2008-07-29 13:37             ` Andrea Arcangeli
2008-07-28 21:51     ` [PATCH 3/6] kvm.git allow browsing memslots with mmu_lock Marcelo Tosatti
2008-07-28 22:06       ` Andrea Arcangeli
2008-07-28 21:43   ` [PATCH 2/6] kvm.git allow reading aliases " Marcelo Tosatti
2008-07-28 21:11 ` [PATCH 1/6] kvm.git mmu notifier patch Marcelo Tosatti
2008-07-28 21:15   ` Marcelo Tosatti
2008-07-29  9:31 ` Avi Kivity

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=488F1B82.2080405@qumranet.com \
    --to=avi@qumranet.com \
    --cc=andrea@qumranet.com \
    --cc=kvm@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com.br \
    /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.