Re: [RFC PATCH 1/4] KVM: emulate: speed up do_insn_fetch

From: Paolo Bonzini
Date: Wed May 07 2014 - 04:32:44 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/