From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDhcv-0007i7-6N for qemu-devel@nongnu.org; Sun, 25 Aug 2013 17:13:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDhcp-0006sx-15 for qemu-devel@nongnu.org; Sun, 25 Aug 2013 17:13:37 -0400 Message-ID: <1377465202.3819.25.camel@pasglop> From: Benjamin Herrenschmidt Date: Mon, 26 Aug 2013 07:13:22 +1000 In-Reply-To: <31707B5A-C56F-4343-8851-1DD516A099AD@suse.de> References: <1377235210-27093-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1377235210-27093-3-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <31707B5A-C56F-4343-8851-1DD516A099AD@suse.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH -V3 2/4] target-ppc: Fix page table lookup with kvm enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Paul Mackerras , "qemu-ppc@nongnu.org list:PowerPC" , "Aneesh Kumar K.V" , "qemu-devel@nongnu.org qemu-devel" On Sun, 2013-08-25 at 19:32 +0100, Alexander Graf wrote: > > + * At this point we are only interested in reading only bolted > entries > > + */ > > + ghf.flags = KVM_GET_HTAB_BOLTED_ONLY; > > + ghf.start_index = index; > > + htab_fd = kvm_vm_ioctl(kvm_state, KVM_PPC_GET_HTAB_FD, &ghf); > > We should cache this. > Also why bolted only ? Cheers, Ben.