From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Wed, 08 Jul 2009 10:04:01 +0000 Subject: Re: [PATCH 00/23] Add KVM support for PPC64 (970) host Message-Id: <4A546F11.4050909@redhat.com> List-Id: References: <1246976262-4826-1-git-send-email-agraf@suse.de> In-Reply-To: <1246976262-4826-1-git-send-email-agraf@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On 07/08/2009 12:51 PM, Benjamin Herrenschmidt wrote: > On Wed, 2009-07-08 at 11:43 +0300, Avi Kivity wrote: > >> On 07/08/2009 11:19 AM, Benjamin Herrenschmidt wrote: >> >>>> Can you explain your concerns? >>>> >>>> >>> Nothing really just yet. As I said, I need to get my head around Alex >>> code and figure before I take a position here. It might just be easier >>> for us to hook into the low level hash table invalidation code instead >>> and totally ignore the linux PTEs. >>> >>> >> Are the hashes lazily or eagerly populated wrt the linux ptes? >> > > Lazily. > In this case how can hooking the hashes work? kvm obtains pages by calling get_user_pages_fast() so you can have a page in the shadow hash which is not present in the host hash. -- error compiling committee.c: too many arguments to function