All of lore.kernel.org
 help / color / mirror / Atom feed
From: Izik Eidus <ieidus@redhat.com>
To: kvm@vger.kernel.org
Cc: avi@redhat.com
Subject: Re: [PATCH 0/2] remove kvm vmap usage
Date: Mon, 29 Dec 2008 02:06:55 +0200	[thread overview]
Message-ID: <4958149F.10101@redhat.com> (raw)
In-Reply-To: <1230507740-10596-1-git-send-email-ieidus@redhat.com>

Izik Eidus wrote:
> Remove the vmap usage from kvm, this is needed both for ksm and
> get_user_pages != write.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   
Ok so for ksm things are now all right, actully i could live without 
this vmap as well,
beacuse ksm check the page _count and every call to gva_to_page should 
increase it.

anyway before i continue with the kmap removing (again ksm doesnt need 
it, only get_user_pages != write)
does we really want to go that way?

even for the get_user_pages case we can live with the write = 0, if 
before each kmap_atomic we will call
get_user_pages (write = 1), so the page inside apic_page and time_page 
and what so ever would be safe
(when ksm will come to merge that page it will skip it with the page 
count check)

  parent reply	other threads:[~2008-12-29  0:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-28 23:42 [PATCH 0/2] remove kvm vmap usage Izik Eidus
2008-12-28 23:42 ` [PATCH 1/2] KVM: introducing kvm_read_guest_virt, kvm_write_guest_virt Izik Eidus
2008-12-28 23:42   ` [PATCH 2/2] KVM: remove the vmap usage Izik Eidus
2008-12-29  0:06 ` Izik Eidus [this message]
2008-12-29  8:36 ` [PATCH 0/2] remove kvm " 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=4958149F.10101@redhat.com \
    --to=ieidus@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.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.