From: Paolo Bonzini Date: Tue, 6 May 2014 11:05:25 +0000 (+0200) Subject: KVM: emulate: avoid per-byte copying in instruction fetches X-Git-Tag: omap-for-v3.17/fixes-against-rc2~184^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9506d57de3bc8277a4e306e0d439976862f68c6d;p=pandora-kernel.git KVM: emulate: avoid per-byte copying in instruction fetches We do not need a memory copying loop anymore in insn_fetch; we can use a byte-aligned pointer to access instruction fields directly from the fetch_cache. This eliminates 50-150 cycles (corresponding to a 5-10% improvement in performance) from each instruction. Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed