From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [RFC PATCH 1/4] KVM: emulate: speed up do_insn_fetch Date: Wed, 07 May 2014 10:32:29 +0200 Message-ID: <5369EF9D.90905@redhat.com> References: <1399400175-23754-1-git-send-email-pbonzini@redhat.com> <1399400175-23754-2-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org To: Bandan Das Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Il 07/05/2014 04:30, Bandan Das ha scritto: >> > + if (unlikely(ctxt->_eip == fc->end)) { > Is this really going to be unlikely ? > Yes, it happens at most once per instruction and only for instructions that cross pages. Paolo